1.What is difference between symget and & in sas?
2.what is difference between callsymput and %let?
Answer / somnath
=> Symget is used to resolve macro variables in data step
and & is used to resolve macro variable in macro processing.
For example, if you have 10 macro variables name1-name10
which contains 10 names and you want to get a particular
name in a data step then you can use symget, not &.
data rank;
i=4;
run;
data name;
set rank;
name=symget('name' || left(put(i, 8.)));
run;
=> The same concept applies for call symput.
The main idea is that the routines symget and symput are
executed at sas run-time where & and %let executes at macro
run time, much before that sas executes it.
Is This Answer Correct ? | 17 Yes | 0 No |
Write a Pseudo Code to find the angle between two hands of a clock for a given time.
When we delete logfiles such as screenshots how does it affect the ldf file? Ive seen huge change while adding screenshots in the ldf file but a very minor one deleting them.Please Explain
what is different betweet class and interface in java?
2 Answers Microsoft, Sun Microsystems,
Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two
When we have more than one main function in a program how does the compiler know the starting point of the program, i mean from which main the execution or compilation of the program begins?
needs examples for black box testing and white box testing
Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?
What are the compilers of JAVA and .NET Programming languages?
Plz sent me in .net 2.0 interview Question & answers?
There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.
How many processes can listen on a single TCP/IP port?
Who is providing best mainframes online training in Hyderabad