Hello. I have a bunch of datasets in a library called: 'TrialData'. I have the format library stored in the 'TrialData' as well.
However, when I try to apply the format in the same 'TrialData' library, it doesn't work. I have to save them under 'Work' library. Is there any way it can be fixed? Thanks!
PROC FORMAT LIBRARY=TrialData;
VALUE Assessment 1='Yes' 0='No' 99 ='Missing or not reported';
VALUE CommitmentStatus 1='Yes' 0='No' 99 = 'Missing or not reported;
RUN;
Applying format to one of the datasets = Dataset1
DATA TrialData.Dataset1; SET TrialData.Dataset1;
FORMAT Assessment Assessment.
CommitmentStatus CommitmentStatus .;
RUN;
It doesn't work. It only works if I load the format in the Work library
Thanks so much!