BookmarkSubscribeRSS Feed
SP_RANDE
Calcite | Level 5
Hi,
I would like to use Input Streams option in the step of Output/Input of creating a stored process. How can I use this option to pass a huge list of values populated into a parameter value at run-time.
Can anyone give me an example of doing this?

I have a big list of 10K CPT Codes hard coded in a text file. I want them to populate into an input parameter when I invoke the stored process. This list is big to add manually to a parameter.
-----------
Input streams are an alternative way of providing data to a stored process at run time. Input streams usually consist of XML data that originates in a remote application, such as a Web service.
-----------

Thank you!
Raja
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I don't believe that Input Streams were meant to populate a parameter list or if they even COULD populate a parameter list. Since the constraints for the parameter list lives in the metadata, it sounds like you want the parameter list to be dynamically updated "on the fly" from your stream. I am not sure that you can do this with streamed input to a stored process.

As an example of using stream input, in this Stored Process, the data from the stream (INSTREAM libref) is being sent to PROC MEANS:
http://support.sas.com/rnd/itech/doc9/dev_guide/websrvcs/sample.html

This is a question that is probably best answered by Tech Support.

cynthia

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2092 views
  • 0 likes
  • 2 in conversation