Answer Posted / solasa
SAS CATALOG IS A TYPE OF SPECIAL SAS FILE THAT CONTAINS
ELEMENTS.MOST COMMMON ELEMENTS IN SAS CATALOG ARE 'FORMAT'
'SOURCE' OUTPUT,LOG EC.
PROC FORMAT IS USED TO CREATE THE FORMAT AND STORE THEN
IN THE SASCATALOG.
proc format library=SMA;
value $region
'1'='n orthwest'
'2'='southwest'
'3'='central'
;
run;
FORMAT NAME 'REGION' IS STORED IN CATALOG IN 'SMA' LIBRARY
TO KNOW THE CONTENTS OR TO MOVE THE CONTENTS OF ASA CATALOG
USE THE PROCEDURE 'PROC CATALOG'
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
How do you test for missing values?
what are the categories that sas informats are used to the place the data? : Sas-administrator
name the scheduler for scheduling job and explain the scheduler? : Sas-di
State the difference between INFORMAT and FORMAT ?
Explain the difference between informat and format with an example.
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
Mention what is SAS data set?
What are the difference between ceil and floor functions in sas?
What will calendar procedure do?
what is sas database server? : Sas-di
what can you learn from the sas log when debugging? : Sas programming
what type of graphs we will create(for 2+years candidates)?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
What are the prime responsibilities of data integration administrator? : Sas-di