Your SAS programs, embedded in web apps and elsewhere

Creating Parameters in Store Process

Reply
Frequent Contributor
Posts: 78

Creating Parameters in Store Process

Hi All,

I am currently writting my own store process code on SAS9.2 developer. However, I am unsure of how to write the codings for parameters. Say for example, I have a parameter for Fruits which allow users to select between Apples, Orange and Strawberry etc. I understand that I may need to write a macro script etc... however not sure how to go about it.

Hoping someone can help me out!

Cheers.
Yennie
SAS Super FREQ
Posts: 8,864

Re: Creating Parameters in Store Process

Hi:
These papers were written for SAS 9.1.3, however, the basic concepts are the same.
http://www2.sas.com/proceedings/forum2008/024-2008.pdf
http://www2.sas.com/proceedings/forum2007/021-2007.pdf

And this is an EG stored process paper:
http://www2.sas.com/proceedings/forum2007/218-2007.pdf

cynthia
SAS Super FREQ
Posts: 304

Re: Creating Parameters in Store Process

Here are a few pages from the documentation that you may find helpful:

Using Input Parameters
http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/a003152642.htm

The Program Component and The Input Component
http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/a003172097.htm

The section on the program component shows how to use a parameter named REGIONNAME in your SAS code.

Vince DelGobbo
SAS R&D
Ask a Question
Discussion stats
  • 2 replies
  • 184 views
  • 0 likes
  • 3 in conversation