Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to do user inputs and command line arguments in SAS? D&B

Answers were Sorted based on User's Feedback



How to do user inputs and command line arguments in SAS? D&B ..

Answer / segu

we can pass the paramters at run time.
here is an example which passes three parameters( 3 dates)
to a program calles pgm_name:

>sas pgm_name -sysparm "01aug95 05aug94 10jan60"

Is This Answer Correct ?    2 Yes 1 No

How to do user inputs and command line arguments in SAS? D&B ..

Answer / rupesh

we can input values in dataset runtime using WINDOW statement:


data temp;
length name $20;
length sex $1;

window start

#3 @5 'enter the name' +1 name attr=underline
#4 @5 'enter the age' +2 age attr=underline
#5 @5 'enter the sex' +2 sex attr=underline

#7 'when complete type end in cmd';

display start;
run;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

do you need to know if there are any missing values? : Sas programming

0 Answers  


what is the Population you used in your project, is it ITT or PP?

0 Answers   Accenture, Quintiles,


% let A=3+4 what is result

4 Answers   Satyam,


what is prime numbers? how we can get plc write sas code?

5 Answers   Icon,


How does proc sql work?

0 Answers  


what type of reports you are generating in your company...???

2 Answers   GSK GlaxoSmithKline,


what are methods to identify duplicate observations?

5 Answers   HCL,


How we can create SAS USER DEFINED CODE?

0 Answers  


What is highest missing value for numeric?

1 Answers  


Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


how many types prompting framework can be broken down to? : Sas-bi

0 Answers  


what is SAS/Graph?

1 Answers   CitiGroup, NTPC,


Categories