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

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

4 Answers   Quintiles,


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

3 Answers  


What are exact SAS Base contents..?N what r SAS Tools..?

1 Answers  


When you will use nowd option in report???

6 Answers   Accenture,


What SAS statements would you code to read an external raw data file to a DATA step?

6 Answers   Accenture,


IS SAS COMPILER OR INTERPRETER? EXPLAIN?

3 Answers   Aon Hewitt, HSBC, SCL, TCS,


how can you put a "trace" in your program? : Sas programming

0 Answers  


WHAT IS DEBUGGING? HOW TO TEST THE DEBUGGING IN SAS?

3 Answers   Accenture,


How to read multiple excel sheets from a single excel file at once????

7 Answers   HCL, Verinon Technology Solutions,


Do you need to know if there are any missing values?

0 Answers  


How do you define proc in sas? : sas-grid-administration

0 Answers  


how to rearrange the data as our wish by using dataset block?

4 Answers   Cognizant,


Categories