Download SEZAM ADMINISTRATION MANUAL

Transcript
SEZAM Administration Manual
The difference between the General (GRS) and the Sample Record Section (SRS) is the
following:
#
Each GRS record can have up to two priority entries:
PA
- priority in the ADABAS utilities job stream.
PN
- priority in the NATURAL utilities, NATURAL system commands
and NATURAL user programs job stream.
#
The records from GRS participate in the generation process in the sequence of their
priority values (PA, or PN). The SRS records don’t take a part in the job generation.
#
The SRS records are optional. There are no influence of SRS records on the job
generation process. The SRS records ensure the usage of the pre-defined default
datasets allocations by the JCL / REXX generation and execution.
SEZAM provides separate control of the job generation stream for the ADABAS utilities and
for all the other functions (i.e. NATURAL utilities, NATURAL system commands etc.). It is
achieved by the separating of the priorities for the ADABAS job stream (PA) from the
priorities for the NATURAL (PN).
Each JCL / REXX (Fig. 2-2) consists of two parts:
#
Independent part which is the same in all jobs.
#
Dependent part which is utility specific.
//KSMFASAV JOB (,,,999),'KSM',CLASS=W,MSGCLASS=X
//* SEZ312:F177-ADASAV(Save files)-FILE(18)
//* SEZENV=F177
/*ROUTE XEQ DAEF
/*JOBPARM SYSAFF=DAEF
/*ROUTE PRINT DAEF
//STEP01 EXEC PGM=ADARUN,REGION=8000K,TIME=1440
//STEPLIB DD DSN=RZDBA.DB177.NEWLOAD,DISP=SHR
//
DD DSN=RZDBA.DB177.LOAD,DISP=SHR
//DDASSOR1 DD DSN=DB177.SYSF.ASSOR1,DISP=SHR
//DDDATAR1 DD DSN=DB177.SYSF.DATAR1,DISP=SHR
//DDWORKR1 DD DSN=DB177.SYSF.WORKR1,DISP=SHR
//DDSAVE1 DD DSN=ADASAV.DAEF.DB177.F018,DISP=(,KEEP),
//
UNIT=3480,LABEL=(1,SL,EXPDT=98000),
//
VOL=(,RETAIN,,,SER=(KSM001)),TRTCH=COMP
//DDDRUCK DD SYSOUT=*
//DDPRINT DD SYSOUT=*
//DDCARD
DD *
ADARUN PROG=ADASAV
ADARUN SVC=249
ADARUN DEVICE=3390
ADARUN MODE=MULTI
ADARUN DBID=177
//DDKARTE DD *
ADASAV SAVE FILES=18
ADASAV UTYPE=EXU
ADASAV NOUSERABEND
//* END GENERATION
Figure 2-2:
10
Example of JCL