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

Mention what is the difference between nodupkey and nodup options?

0 Answers  


What do the SAS log messages "numeric values have been converted to character" mean?

0 Answers   Quintiles,


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

0 Answers  


Name statements that function at both compile and execution time.

3 Answers   L&T,


whenever we using the merging through data set merging ,we can get note in log like this "MERGE STATEMENT HAS MORE THAN ONE ONE DATASET BY REPEATED BY VAIABLES" but the output has come in good manner,whenever in in sql(full join) we can get cartion product.so How do overcome this problem in sql?

1 Answers   Accenture,


How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...

7 Answers  


Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?

1 Answers  


In the flow of DATA step processing, what is the first action in a typical DATA Step?

6 Answers   Accenture,


which date function advances a date, time or datetime value by a given interval? : Sas programming

0 Answers  


What system options would you use to help debug a macro? : sas-macro

0 Answers  


how to intersect the tables by using PROC MIXED?

1 Answers   CitiGroup,


What is the difference between the proc sql and data step?

0 Answers  


Categories