book
Article ID: 145122
calendar_today
Updated On:
Issue/Introduction
The following DDs are in the BACKUP job's JCL however the datasets do not exist ... IE, have never been created.
//SCREENS DD DISP=SHR,DSN=PRM1.TEST.SCREENS
//TABLES DD DISP=SHR,DSN=PRM1.TEST.TABLES
How do I get the BACKUP job to run without these datasets existing?
Resolution
These 2 SAS files needs to have a data directory in them;
You can create a dummy sas directory using the sample JCL below:
//jobcard
//MICSPP JCLLIB ORDER=SHAREDPREFIX.PROCLIB
//TEST EXEC MICSSHRx
//SCRIN DD DSN=SHAREDPREFIX.SCREENS,DISP=OLD
//SYSIN DD *
DATA SCRIN.DUMMY;
STOP;
RUN;
/*
//
Then do the same for SHAREDPREFIX.TABLES.
Additional Information
The DCB info for the SCREENS and TABLES dataset as taken from the job to perform a new installation of MICS is a follows:
//SCREENS DD UNIT=&LIBUNIT,VOL=SER=&LIBVOL,DISP=(&DSP,CATLG,DELETE),
// STORCLAS=&LIBSTORC,DATACLAS=&LIBDATAC,MGMTCLAS=&LIBMGMTC
// SPACE=(6160,(50,25)),
// DCB=(DSORG=PS,RECFM=FS,LRECL=6144,BLKSIZE=6144),
// DSN=&SPREFIX..&SMICS.SCREENS
//TABLES DD UNIT=&LIBUNIT,VOL=SER=&LIBVOL,DISP=(&DSP,CATLG,DELETE),
// STORCLAS=&LIBSTORC,DATACLAS=&LIBDATAC,MGMTCLAS=&LIBMGMTC
// SPACE=(6160,(50,25)),
// DCB=(DSORG=PS,RECFM=FS,LRECL=6144,BLKSIZE=6144),
// DSN=&SPREFIX..&SMICS.TABLES