In SAS how to read the variable values having different
formats.
eg:mar99,mar1999 (in a single variable)

Answer Posted / vijay

for the informats/formats in the question i.e. DATEw.
ones.. we can use the above 2 informats

if the data is in MMDDYYYYw. fashion use EURDFDTw.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you need to rearrange the order of the data for the report?

1825


What are the parameters of scan function?

604


Differentiate between sas functions and sas procedures.

628


what are the scrubbing procedures in sas? : Sas programming

815


Which statement does not perform automatic conversions in comparisons?

1187






How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

568


Which command is used to perform sorting in sas program?

585


What is the difference between the proc sql and data step?

648


Explain why double trailing @@ is used in input statement?

561


How do you use the do loop if you don’t know how many times you should execute the do loop?

738


Name few SAS functions?

659


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2254


What is connection profile? : sas-grid-administration

637


What are the prime responsibilities of data integration administrator? : Sas-di

581


What was the last computer book you purchased? Why?

1902