1.How many ways are there to create variables?
2.What is CLM,how can we use it?
3.what are the advontages of data step?
4.what is the extension of editor window in SAS 9.1.3?
5.How do you copy a particular data set from one library to
another?
6.what is the use of double option?
7.Advontages of Proc Report?
8.what is the basic use of where statement?
9.How do you terminate the statments in SAS Programming?
10.What is the difference between symput and symget?
11.How would a identify the local and global variable?

can any one answer for the 4'th question

Answer Posted / mallikarjuna raju

For 10 :

callsymput: We can create macro variable from the dataset
variable during the datastep execution time.for
this process the data set variable must be
existed.

symget: using with symget function you can create data set
variable from the macro variable. for this process
macro variable must be existed.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between SAS STATA & SPSS?

681


how would you create multiple observations from a single observation? : Sas programming

566


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1098


Explain data_null_?

609


Mention the validation tools used in SAS?

658






how can you create zero observation dataset? : Sas programming

639


Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.

1776


Can you execute a macro within a macro? Describe. : sas-macro

674


how to do user inputs and command line arguments in sas?

2428


How substr function works in sas?

701


name the scheduler for scheduling job and explain the scheduler? : Sas-di

592


what is intially documentation in sas?

4334


What are the limitations for memory allocation for SAS variables

931


describe about physical data integration? : Sas-di

559


what is the primary data source for the wrs? : Sas-bi

659