Assigning parameters in sas through dialogue box

Reply
Contributor
Posts: 56

Assigning parameters in sas through dialogue box

anyone knows how we can pass the parameters through the dialogue boxes in SAS, for running the sas program in batch mode.

for example:

%macro sort (idsn,odsn,vars);

Proc sort data=&idsn out=&odsn nodupkey;

By &vars;

Run;

%mend;

in the execution time we can give below parameters,

%sort(sashelp.class,cls,height);

The above three parameters have to give in one dialogue box one by one instead of writing in sas.

regards

Shiva

Super User
Posts: 17,861

Re: Assigning parameters in sas through dialogue box

What type of dialogue box? If the person will have SAS, then you can create something like that using SAS EG and/or a SAS Stored Process.

Otherwise you can build a custom UI that grabs the parameters and then passes them to a batch call.   

Contributor
Posts: 56

Re: Assigning parameters in sas through dialogue box

thank you reeza,

how can build a custom UI that grabs the parameters and then passes them to a batch call.

regards

Shiva

Valued Guide
Posts: 3,208

Re: Assigning parameters in sas through dialogue box

split your thoughts is seperate issues.
1/ make in some way a program that will define as SAS-source containing the needed defnitions

2/ running your batch-program will start with including the create source. You could even check on properties. (scheduling)...

---->-- ja karman --<-----
Ask a Question
Discussion stats
  • 3 replies
  • 187 views
  • 0 likes
  • 3 in conversation