How can you put a "trace" in your program?
Answers were Sorted based on User's Feedback
Answer / shru
Use below command before coding where you require the log
to Trace:
ods trace on / label
| Is This Answer Correct ? | 5 Yes | 1 No |
"What is the difference between proc sort nodup and proc sort nodupkey?"
There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
Identify statements whose placement in the DATA step is critical?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
how to add distinctly var variable values ex.. Data a; input var; datalines; 0 1 2 3 -1 -2 -3 ; run; adding all +ve value in one varibale n do the same for -ve too
1.How to draw pivot tables in Excel by using SAS and in which version we can use VB script for to draw pivot tables in Excel? Answer with example data. 2.What are the advantages of _NULL_ in Data steps? Can we use _NULL_ in Proc steps also? 3. How to call the macro variable into Data Steps? 4. Can we draw pivot tables in Excel using Proc SQL? Please post answers for the above questions with suitable examples, and how to use VB script for Excel using SAS.
If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?
What is the basic syntax of a sas program?
How do you control the number of observations and/or variables read or written?
. Which date advances a date, time or date/time value by a given interval?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
DATA ABC; INPUT TDATE DATE9. AVG; CARDS; 18APR2008 150.00 19APR2008 167.00 20APR2008 123.00 21APR2008 145.00 ; RUN HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF 21APR2008?? IF ANY ONE GETS IT PLS TRY TO POST IT.
8 Answers Verinon Technology Solutions,