Hello,
did you know why the output data is written in the SAS log instead of the specified output file (TIC5109F). Here's my code.
// In my program
DATA BB
FILE TIC5109F;
FORMAT NBR_RECORDS_ECRITS 12.
NBR_RECORDS_DETRUITS 12.;
SET LISTE_MESSAGES END=EOF;
RETAIN NBR_RECORDS_ECRITS 0 NBR_RECORDS_DETRUITS 0;
PUT @001 RECORD;
NBR_RECORDS_ECRITS = NBR_RECORDS_ECRITS + 1;
IF EOF THEN
DO;
CALL SYMPUT("NBR_RECORDS_ECRITS",PUT(NBR_RECORDS_ECRITS,12.));
END;
RUN;
//The portion of the JCL code related
//TIC5109F DD DSN=BTS.MINIV42.TIC5109F.SELECT,DISP=(,CATLG),
// UNIT=DISK,SPACE=(TRK,(90,30),RLSE),
// DCB=(RECFM=FB,LRECL=180,BLKSIZE=27000)
Is it because my JCL parameters are not good?
Thanks
You are missing a semicolon in the DATA BB statement, so FILE and TIC5109F are taken as SAS datasets. That should show in the log.
Doc Muhlbaier
Duke
You are missing a semicolon in the DATA BB statement, so FILE and TIC5109F are taken as SAS datasets. That should show in the log.
Doc Muhlbaier
Duke
Thanks a lot!
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.