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 would you include common or reuse code to be processed
along with your statements?

Answers were Sorted based on User's Feedback



How would you include common or reuse code to be processed along with your statements?..

Answer / selvi

We can code the resusable as seperate macro. And will call
into SAS program where ever there is a need.
Macro should start with %macro macroname(), and end with %
mend.
Syntax for call in datastep-%macroname

Is This Answer Correct ?    6 Yes 0 No

How would you include common or reuse code to be processed along with your statements?..

Answer / selvi

To add on above one, if you want to include the another SAS
program then use %include with full SAS code path.

Is This Answer Correct ?    3 Yes 0 No

How would you include common or reuse code to be processed along with your statements?..

Answer / vemula

%include
%list

Is This Answer Correct ?    0 Yes 0 No

How would you include common or reuse code to be processed along with your statements?..

Answer / basha

we can use autocall liobrary in macros which includes
options mautosource
syntax creating auto call lbrary
libname statement
filename
catalog
at last
code:libname<filename><catalog><sourcecode>
note:macroname is same as source file name

Is This Answer Correct ?    0 Yes 0 No

How would you include common or reuse code to be processed along with your statements?..

Answer / raj

Use %inc statement to include piece of code

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SAS Interview Questions

What is a post baseline?

1 Answers  


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

13 Answers   Accenture, IBM,


Which date functions advances a date time or date/time value by agiven interval?

3 Answers  


What are the ways in which macro variables can be created in sas programming?

0 Answers  


how to generate the test data in sas without input data? : Sas-administrator

0 Answers  


what are 5 ways to perform a table lookup in sas? : Sas-administrator

0 Answers  


What is SAS informats?

0 Answers  


how to perform paired t-test using Base/SAS & SAS/Stat?

2 Answers  


what does .. meant in sas macros

3 Answers   D&B,


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

0 Answers  


what is the primary variable in your study?

3 Answers   Accenture,


When you will use nowd option in report???

6 Answers   Accenture,


Categories