Version 8.2.4
 —  Adabas Utility Functions for Delta Save  —

ADARES JCL/JCS Requirements and Examples

This section describes the job control information required to run the Delta Save functions of ADARES with BS2000/OSD, z/OS, z/VM, VSE/ESA and z/VSEsystems, and shows examples of each of the job streams.

Note:
When running with the optional Recovery Aid (RLOG), all temporary data sets must also be cataloged in the job control.

This document covers the following topics:


BS2000/OSD

Data Set 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

Rebuild DSIM Data Set from Sequential Protection Log (ADARES COPY)


/.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

Copy Dual/Multiple Protection Log/Build DSIM Data Set (ADARES PLCOPY)


/.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

Top of page

z/OS

Data Set 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

Rebuild DSIM Data Set from Sequential Protection Log (ADARES COPY)


//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=*

Copy Dual/Multiple Protection Log/Build DSIM Data Set (ADARES PLCOPY)


//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=*

Top of page

z/VM

Data Set 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

Rebuild DSIM Data Set from Sequential Protection Log (ADARES COPY)


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=...

Copy Dual/Multiple Protection Log/Build DSIM Data Set (ADARES PLCOPY)


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=...

Top of page

VSE/ESA and z/VSE

Data Set 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 .

Rebuild DSIM Data Set from Sequential Protection Log (ADARES COPY)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// EXEC ADARUN,SIZE=ADARUN

ADARUN PROG=ADARES,DSF=YES,...

/*

ADARES COPY

ADARES DSIMSIZE=...

/*

 

Copy Dual/Multiple Protection Log/Build DSIM Data Set (ADARES PLCOPY)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// EXEC ADARUN,SIZE=ADARUN

ADARUN PROG=ADARES,DSF=YES,...

/*

ADARES PLCOPY

ADARES DSIMSIZE=...

/*

 

Top of page