SAS Question:

Download Job Interview Questions and Answers PDF

What is the use of catalog?

SAS Interview Question
SAS Interview Question

Answer:

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'

Download SAS Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window. How can we do this one?Suppose date is 05sep2005; i want the output like 05sep2005:00:00:00 ; how it will come?