This section describes the job control information required to run the Delta Save functions of ADARES with BS2000, OS/390, z/OS, z/VM, and VSE/ESA systems, and shows examples of each of the job streams.
Note:
When running with the optional Recovery Aid (RLOG), all temporary
datasets must also be cataloged in the job control.
This document covers the following topics:
Dataset | Link Name | Storage | More Information |
---|---|---|---|
Associator | DDASSORn | disk | |
Delta Save images (DSIM) | DDDSIMR1 | disk | required when ADARUN DSF=YES |
Sequential protection log (PLOG) | DDSIIN | tape/disk | input log for COPY |
Dual/multiple PLOG | DDPLOGRn | disk | input log for PLCOPY |
Copied log | DDSIAUS1 | tape/disk | output of COPY, CLCOPY, PLCOPY |
Extra copied log | DDSIAUS2 | tape/disk | required if a copy function is used with TWOCOPIES |
Recovery log (RLOG) | DDRLOGR1 | disk | required for RLOG function |
ADARES parameters | SYSDTA/DDKARTE | ||
ADARUN parameters | SYSDTA/DDCARD | Adabas Operations | |
ADARES messages | SYSLST/DDDRUCK | Adabas Messages and Codes | |
ADARUN messages | SYSOUT/DDPRINT | Adabas Messages and Codes |
/.COPY LOGON /MOD-JOB-OPTIONS LISTING=YES /MOD-TEST DUMP=YES /ASS-SYSLST DO.PLCOPY.LST /ASS-SYSOUT DO.PLCOPY.OUT /SET-JOB-STEP /ASS-SYSDTA *SYSCMD /SET-FILE-LINK DDASSOR1, ADABAS.DB010.ASSOR1,SUP=DISK(SHARE-UPD=YES) /SET-FILE-LINK DDDSIMR1, ADABAS.DB010.DSIM ,SUP=DISK(SHARE-UPD=NO) /SET-FILE-LINK DDSIIN , ADABAS.DB010.PLOG0310 /SET-FILE-LINK DDSIAUS1, *DUMMY /SET-FILE-LINK DDLIB , ADABAS.MOD /REMARK /START-PROGRAM FROM-FILE=*MOD(ADABAS.MOD,ADARUN) ADARUN PROG=ADARES,DSF=YES... ADARES COPY ... ADARES DSIMSIZE=... /ASS-SYSLST *PRIM /ASS-SYSOUT *PRIM /ASS-SYSDTA *PRIM /LOGOFF SYS-OUTPUT=DEL
/.PLCOPY LOGON /MOD-JOB-OPTIONS LISTING=YES /MOD-TEST DUMP=YES /ASS-SYSLST DO.PLCOPY.LST /ASS-SYSOUT DO.PLCOPY.OUT /CREATE-FILE ADABAS.DB010,PLOG.COPY, / (SPACE=RELA(PRIM-ALLOC=960,SEC-ALLOC=96)) /SET-JOB-STEP /ASS-SYSDTA *SYSCMD /SET-FILE-LINK DDASSOR1, ADABAS.DB010.ASSOR1,SUP=DISK(SHARE-UPD=YES) /SET-FILE-LINK DDDSIMR1, ADABAS.DB010.DSIM ,SUP=DISK(SHARE-UPD=YES) /SET-FILE-LINK DDPLOGR1, ADABAS.DB010.PLOGR1 /SET-FILE-LINK DDPLOGR2, ADABAS.DB010.PLOGR2 /SET-FILE-LINK DDSIIN , ADABAS.DB010.PLOG.COPY,OPEN-MODE=OUTIN, / BUFFER-LENGTH=STD(16) /SET-FILE-LINK DDLIB , ADABAS.MOD /REMARK /START-PROGRAM FROM-FILE=*MOD(ADABAS.MOD,ADARUN) ADARUN PROG=ADARES,DSF=YES... ADARES PLCOPY ... ADARES DSIMSIZE=... /ASS-SYSLST *PRIM /ASS-SYSOUT *PRIM /ASS-SYSDTA *PRIM /LOGOFF SYS-OUTPUT=DEL
Dataset | DD Name | Storage | More Information |
---|---|---|---|
Associator | DDASSORn | disk | |
Delta Save images (DSIM) | DDDSIMR1 | disk | required when ADARUN DSF=YES |
Sequential protection log (PLOG) | DDSIIN | tape/disk | input log for COPY |
Dual/multiple PLOG | DDPLOGRn | disk | input log for PLCOPY |
Copied log | DDSIAUS1 | tape/disk | output of COPY and PLCOPY |
Extra copied log | DDSIAUS2 | tape/disk | required if a copy function is used with TWOCOPIES |
Recovery log (RLOG) | DDRLOGR1 | disk | required for RLOG option |
ADARES parameters | DDKARTE | ||
ADARUN parameters | DDCARD | Adabas Operations | |
ADARES messages | DDDRUCK | Adabas Messages and Codes | |
ADARUN messages | DDPRINT | Adabas Messages and Codes |
//COPY EXEC PGM=ADARUN //DDASSOR1 DD DSN=ADABAS.DB010.ASSOR1,DISP=SHR //DDDSIMR1 DD DSN=ADABAS.DB010.DSIMR1,DISP=OLD //DDSIIN DD DSN=ADABAS.DB010.PLOG0310,DISP=SHR //DDSIAUS1 DD DUMMY //DDCARD DD * ADARUN PROG=ADARES,DSF=YES,... //DDKARTE DD * ADARES COPY ... ADARES DSIMSIZE=... //DDPRINT DD SYSOUT=* //DDDRUCK DD SYSOUT=*
//PLCOPY EXEC PGM=ADARUN //DDASSOR1 DD DSN=ADABAS.DB010.ASSOR1,DISP=SHR //DDPLOGR1 DD DSN=ADABAS.DB010.PLOGR1,DISP=SHR //DDPLOGR2 DD DSN=ADABAS.DB010.PLOGR2,DISP=SHR //DDDSIMR1 DD DSN=ADABAS.DB010.DSIMR1,DISP=SHR //DDSIAUS1 DD DSN=ADABAS.DB010.PLOG1310,DISP=(NEW,CATLG), // UNIT=CASS,... //DDCARD DD * ADARUN PROG=ADARES,DSF=YES,... //DDKARTE DD * ADARES PLCOPY ... ADARES DSIMSIZE=... //DDPRINT DD SYSOUT=* //DDDRUCK DD SYSOUT=*
Dataset | DD Name | Storage Type | More Information |
---|---|---|---|
Associator | DDASSORn | disk | |
Delta Save images (DSIM) | DDDSIMR1 | disk | required when ADARUN DSF=YES |
Sequential protection log (PLOG) | DDSIIN | tape/disk | input log for COPY |
Dual/multiple PLOG | DDPLOGRn | disk | input log for PLCOPY |
Copied log | DDSIAUS1 | tape/disk | output of COPY and PLCOPY |
Extra copied log | DDSIAUS2 | tape/disk | required if a copy function is used with TWOCOPIES |
Recovery log (RLOG) | DDRLOGR1 | disk | required for RLOG option |
ADARES parameters | DDKARTE | disk/ terminal/ reader | |
ADARUN parameters | DDCARD | disk/ terminal/ reader | Adabas Operations |
ADARES messages | DDDRUCK | disk/ terminal/ printer | Adabas Messages and Codes |
ADARUN messages | DDPRINT | disk/ terminal/ printer | Adabas Messages and Codes |
DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1 DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM DATADEF DDSIIN,DSN=ADABASVv.SIBA,MODE=A DATADEF DDSIAUS1,DSN=ADABASVv.SIAUS1,UNIT=181,VOL=SIBA01 DATADEF DDPRINT,DSN=ADARES.DDPRINT,MODE=A DATADEF DDDRUCK,DSN=ADARES.DDDRUCK,MODE=A DATADEF DDCARD,DSN=RUNRES.CONTROL,MODE=A DATADEF DDKARTE,DSN=ADARES.CONTROL,MODE=A ADARUN
Contents of RUNRES CONTROL A1:
ADARUN PROG=ADARES,DSF=YES...
Contents of ADARES CONTROL A1:
ADARES COPY ... ADARES DSIMSIZE=...
DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1 DATADEF DDPLOGR1,DSN=ADABASVv.PLOGR1,VOL=PLOGR1 DATADEF DDPLOGR2,DSN=ADABASVv.PLOGR2,VOL=PLOGR2 DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM DATADEF DDSIAUS1,DSN=ADABASVv.SIAUS1,UNIT=181,VOL=SIBA01 DATADEF DDPRINT,DSN=ADARES.DDPRINT,MODE=A DATADEF DDDRUCK,DSN=ADARES.DDDRUCK,MODE=A DATADEF DDCARD,DSN=RUNRES.CONTROL,MODE=A DATADEF DDKARTE,DSN=ADARES.CONTROL,MODE=A ADARUN
Contents of RUNRES CONTROL A1:
ADARUN PROG=ADARES,DSF=YES...
Contents of ADARES CONTROL A1:
ADARES PLCOPY ... ADARES DSIMSIZE=...
Dataset | Symbolic | Storage | Logical Unit | More Information |
---|---|---|---|---|
Associator | ASSORn | disk | see note | |
Delta Save images (DSIM) | DSIMR1 | disk | required when ADARUN DSF=YES | |
Sequential protection log (PLOG) | SIIN | tape/disk | input log for COPY | |
Dual/multiple PLOG | PLOGRn | disk | * | input log for PLCOPY |
Copied log | SIAUS1 | tape disk |
SYS021 * |
output of COPY and PLCOPY |
Extra copied log | SIAUS2 | tape disk |
SYS022 * |
required if a copy function is used with TWOCOPIES |
Recovery log (RLOG) | RLOGR1 | disk | required for RLOG option | |
ADARES parameters | reader | SYSIPT | ||
ADARUN parameters | - CARD CARD |
reader tape disk |
SYSRDR SYS000 * |
Adabas Operations |
ADARES messages | printer | SYS009 | Adabas Messages and Codes | |
ADARUN messages | printer | SYSLST | Adabas Messages and Codes |
* Any programmer logical unit can be used.
See the VSE/ESA-related job information in section Adabas Utility Functions for Delta Save .
// EXEC PROC=ADAVvFIL // EXEC PROC=ADAVvLIB // EXEC ADARUN,SIZE=ADARUN ADARUN PROG=ADARES,DSF=YES,... /* ADARES COPY ADARES DSIMSIZE=... /*
// EXEC PROC=ADAVvFIL // EXEC PROC=ADAVvLIB // EXEC ADARUN,SIZE=ADARUN ADARUN PROG=ADARES,DSF=YES,... /* ADARES PLCOPY ADARES DSIMSIZE=... /*