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

How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

0 Answers  


Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.

2 Answers   Accenture,


how to import XTP files into SAS datasets?

1 Answers   Barclays, Institute For Plasma Research,


There are 200 observations in a dataset, i want to pull out the observation no's 100, 150,180,190 by using Proc SQL? How you can get it?

5 Answers  


How to create a permanent sas data set?

0 Answers  


What data sets do you need to produce the report?

2 Answers   Novartis,


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?

2 Answers  


What are the features of SAS?

0 Answers  


How long can a macro variable be? A token? : sas-macro

0 Answers  


how many types of MERGE?

17 Answers   CitiGroup,


What is the difference between an informat and a format. Name three informats or formats.

6 Answers  


Categories