Version 8.2.4
 —  Adabas Utility Functions for Delta Save  —

ADASAV JCL/JCS Requirements and Examples

This section describes the job control information required to run the ADASAV functions for the Delta Save Facility with BS2000/OSD, z/OS, z/VM, VSE/ESA and z/VSE systems, 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
Full save input(s) DDRESTn tape/disk for RESTORE DELTA function
Full save input DDFULL tape/disk for MERGE function
Delta save input(s) DDDELn tape/disk for MERGE/RESTORE DELTA
Delta save images (DSIM) DDDSIMR1 disk required for online saves
Associator DDASSORn disk  
Data Storage DDDATARn disk required for SAVE/RESTORE
Work DDWORKR1 disk required if nucleus is inactive
Dual/multiple PLOG DDPLOGRn disk optional for RESTORE DELTA
Dual/multiple CLOG DDCLOGRn disk optional for RESTORE DELTA
Recovery log DDRLOGR1 disk required for recovery log
Full or delta save outputs DDSAVEn tape/disk required for SAVE/SAVE DELTA /MERGE functions
Dual full or delta save outputs DDDUALn tape/disk required for TWOCOPIES
ADARUN parameters SYSDTA/DDCARD   Adabas Operations documentation
ADASAV parameters SYSDTA/DDKARTE    
ADARUN messages SYSOUT/DDPRINT   Adabas Messages and Codes
ADASAV messages SYSLST/DDDRUCK   Adabas Messages and Codes

Merge Delta Save Output (ADASAV MERGE)


/.MERGE             LOGON

/MOD-JOB-OPTIONS    LISTING=YES

/MOD-TEST           DUMP=YES

/ASS-SYSLST         DO.SAV.MERGE.LST

/ASS-SYSOUT         DO.SAV.MERGE.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=YES)

/SET-FILE-LINK      DDFULL  , ADABAS.DB010.SAVE039.PART1

/SET-FILE-LINK      DDFULL01, ADABAS.DB010.SAVE039.PART2

/SET-FILE-LINK      DDFULL02, ADABAS.DB010.SAVE039.PART3

/SET-FILE-LINK      DDFULL03, ADABAS.DB010.SAVE039.PART4

/SET-FILE-LINK      DDDEL1  , ADABAS.DB010.MASTER.DELTA.OLD

/SET-FILE-LINK      DDSAVE1 , ADABAS.DB010.SAVE040.PART1

/SET-FILE-LINK      DDSAVE2 , ADABAS.DB010.SAVE040.PART2

/SET-FILE-LINK      DDSAVE3 , ADABAS.DB010.SAVE040.PART3

/SET-FILE-LINK      DDSAVE4 , ADABAS.DB010.SAVE040.PART4

/SET-FILE-LINK      DDDUAL1 , ADABAS.DB010.COPY040.PART1

/SET-FILE-LINK      DDDUAL2 , ADABAS.DB010.COPY040.PART2

/SET-FILE-LINK      DDDUAL3 , ADABAS.DB010.COPY040.PART3

/SET-FILE-LINK      DDDUAL4 , ADABAS.DB010.COPY040.PART4

/SET-FILE-LINK      DDLIB   , ADABAS.MOD

/REMARK

/START-PROGRAM      FROM-FILE=*MOD(ADABAS.MOD,ADARUN)

ADARUN   PROG=ADASAV,DSF=YES...

ADASAV MERGE PATTERN=FD

ADASAV       DRIVES=4

ADASAV       TWOCOPIES

/ASS-SYSLST         *PRIM

/ASS-SYSOUT         *PRIM

/ASS-SYSDTA         *PRIM

/LOGOFF             SYS-OUTPUT=DEL

Merge and Restore Database (ADASAV RESTORE DELTA)


/.REST              LOGON

/MOD-JOB-OPTIONS    LISTING=YES

/MOD-TEST           DUMP=YES

/ASS-SYSLST         DO.SAV.REST.LST

/ASS-SYSOUT         DO.SAV.REST.OUT

/SET-JOB-STEP

/ASS-SYSDTA         *SYSCMD



/SET-FILE-LINK      DDASSOR1,

ADABAS.DB010.ASSOR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDATAR1,

ADABAS.DB010.DATAR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDWORKR1, ADABAS.DB010.WORK,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDPLOGR1,

ADABAS.DB010.PLOGR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDPLOGR2,

ADABAS.DB010.PLOGR2,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDCLOGR1,

ADABAS.DB010.CLOGR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDCLOGR2,

ADABAS.DB010.CLOGR2,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDSIMR1, ADABAS.DB010.DSIM 

,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDREST1 , ADABAS.DB010.SAVE040.PART1

/SET-FILE-LINK      DDREST2 , ADABAS.DB010.SAVE040.PART2

/SET-FILE-LINK      DDREST3 , ADABAS.DB010.SAVE040.PART3

/SET-FILE-LINK      DDREST4 , ADABAS.DB010.SAVE040.PART4

/SET-FILE-LINK      DDDEL1  , ADABAS.DB010.MASTER.DELTA.OLD

/SET-FILE-LINK      DDDEL2  , ADABAS.DB010.MASTER.DELTA1

/SET-FILE-LINK      DDDEL201, ADABAS.DB010.MASTER.DELTA2

/SET-FILE-LINK      DDDEL202, ADABAS.DB010.MASTER.DELTA3

/SET-FILE-LINK      DDLIB   , ADABAS.MOD

/REMARK

/START-PROGRAM      FROM-FILE=*MOD(ADABAS.MOD,ADARUN)

ADARUN   PROG=ADASAV,DSF=YES...

ADASAV RESTORE DELTA,OVERWRITE

ADASAV         PATTERN=FDD

ADASAV         DSIMDEV=2000

ADASAV         DRIVES=4

ADASAV         PLOGDEV=2000,CLOGDEV=2000

/ASS-SYSLST         *PRIM

/ASS-SYSOUT         *PRIM

/ASS-SYSDTA         *PRIM

/LOGOFF             SYS-OUTPUT=DEL

Restore Files (ADASAV RESTORE DELTA,FMOVE...)


/.REST              LOGON

/MOD-JOB-OPTIONS    LISTING=YES

/MOD-TEST           DUMP=YES

/ASS-SYSLST         DO.SAV.REST.LST

/ASS-SYSOUT         DO.SAV.REST.OUT

/SET-JOB-STEP

/ASS-SYSDTA         *SYSCMD

/SET-FILE-LINK      DDASSOR1,

ADABAS.DB010.ASSOR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDATAR1,

ADABAS.DB010.DATAR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDWORKR1, ADABAS.DB010.WORK 

,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDSIMR1, ADABAS.DB010.DSIM 

,SUP=DISK(SHARE-UPD=YES)



/SET-FILE-LINK      DDREST1 ,

ADABAS.DB010.SAVE040.PART1

/SET-FILE-LINK      DDREST01, ADABAS.DB010.SAVE040.PART2

/SET-FILE-LINK      DDREST02, ADABAS.DB010.SAVE040.PART3

/SET-FILE-LINK      DDREST03, ADABAS.DB010.SAVE040.PART4

/SET-FILE-LINK      DDDEL1  , ADABAS.DB010.MASTER.DELTA.OLD

/SET-FILE-LINK      DDDEL2  , ADABAS.DB010.MASTER.DELTA1

/SET-FILE-LINK      DDLIB   , ADABAS.MOD

/REMARK

/START-PROGRAM      FROM-FILE=*MOD(ADABAS.MOD,ADARUN)

ADARUN   PROG=ADASAV,DSF=YES...

ADASAV RESTORE DELTA,OVERWRITE

ADASAV         FMOVE=10,20,30,...

/ASS-SYSLST         *PRIM

/ASS-SYSOUT         *PRIM

/ASS-SYSDTA         *PRIM

/LOGOFF             SYS-OUTPUT=DEL

Save Database (ADASAV SAVE)


/.SAVE              LOGON

/MOD-JOB-OPTIONS    LISTING=YES

/MOD-TEST           DUMP=YES

/ASS-SYSLST         DO.SAV.LST

/ASS-SYSOUT         DO.SAV.OUT

/SET-JOB-STEP

/ASS-SYSDTA         *SYSCMD

/SET-FILE-LINK      DDASSOR1,

ADABAS.DB010.ASSOR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDATAR1,

ADABAS.DB010.DATAR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDWORKR1, ADABAS.DB010.WORK 

,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDSIMR1, ADABAS.DB010.DSIM 

,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDSAVE1 , ADABAS.DB010.SAVE039.PART1

/SET-FILE-LINK      DDSAVE2 , ADABAS.DB010.SAVE039.PART2

/SET-FILE-LINK      DDSAVE3 , ADABAS.DB010.SAVE039.PART3

/SET-FILE-LINK      DDSAVE4 , ADABAS.DB010.SAVE039.PART4

/SET-FILE-LINK      DDLIB   , ADABAS.MOD

/REMARK

/START-PROGRAM      FROM-FILE=*MOD(ADABAS.MOD,ADARUN)

ADARUN   PROG=ADASAV,DSF=YES...

ADASAV SAVE

ADASAV      TTSYN=10

ADASAV      DRIVES=4

/ASS-SYSLST         *PRIM

/ASS-SYSOUT         *PRIM

/ASS-SYSDTA         *PRIM

/LOGOFF             SYS-OUTPUT=DEL

Save Database (ADASAV SAVE DELTA)


/.DELTA             LOGON

/MOD-JOB-OPTIONS    LISTING=YES

/MOD-TEST           DUMP=YES

/ASS-SYSLST         DO.SAV.DELTA.LST

/ASS-SYSOUT         DO.SAV.DELTA.OUT

/SET-JOB-STEP

/ASS-SYSDTA         *SYSCMD

/SET-FILE-LINK      DDASSOR1,

ADABAS.DB010.ASSOR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDATAR1,

ADABAS.DB010.DATAR1,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDWORKR1, ADABAS.DB010.WORK 

,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDDSIMR1, ADABAS.DB010.DSIM 

,SUP=DISK(SHARE-UPD=YES)

/SET-FILE-LINK      DDSAVE1 , ADABAS.DB010.SAVE

/SET-FILE-LINK      DDLIB   , ADABAS.MOD

/REMARK

/START-PROGRAM      FROM-FILE=*MOD(ADABAS.MOD,ADARUN)

ADARUN   PROG=ADASAV,DSF=YES...

ADASAV SAVE DELTA

ADASAV      TTSYN=10

ADASAV      DSIMDEV=2000

/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
Full save input(s) DDRESTn tape/disk for RESTORE DELTA
Full save input DDFULL tape/disk for MERGE
Delta save input(s) DDDELn tape/disk for MERGE/RESTORE DELTA
Delta Save images (DSIM) DDDSIMR1 disk required for online saves
Associator DDASSORn disk  
Data Storage DDDATARn disk required for SAVE/RESTORE
Work DDWORKR1 disk required for SAVE/RESTORE if nucleus is inactive
Dual/multiple PLOG DDPLOGRn disk optional for RESTORE DELTA
Dual/multiple CLOG DDCLOGRn disk optional for RESTORE DELTA
Recovery log DDRLOGR1 disk required for recovery log
Full or delta save outputs DDSAVEn tape/disk required for SAVE/SAVE DELTA /MERGE functions
Dual full or delta save
outputs
DDDUALn tape/disk required for TWOCOPIES
ADARUN parameters DDCARD   Adabas Operations documentation
ADASAV parameters DDKARTE    
ADARUN messages DDPRINT   Adabas Messages and Codes
ADASAV messages DDDRUCK   Adabas Messages and Codes

Merge Delta Save Output (ADASAV MERGE)


//MERGE    EXEC  PGM=ADARUN

//DDASSOR1 DD  DSN=ADABAS.DB010.ASSOR1,DISP=SHR

//DDDSIMR1 DD  DSN=ADABAS.DB010.DSIM,DISP=SHR

//DDFULL   DD  DSN=ADABAS.DB010.SAVE039.PART1,DISP=SHR

//         DD  DSN=ADABAS.DB010.SAVE039.PART2,DISP=SHR

//         DD  DSN=ADABAS.DB010.SAVE039.PART3,DISP=SHR

//         DD  DSN=ADABAS.DB010.SAVE039.PART4,DISP=SHR

//DDDEL1   DD  DSN=ADABAS.DB010.MASTER.DELTA.OLD,DISP=SHR



//DDSAVE1  DD 

DSN=ADABAS.DB010.SAVE040.PART1,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDSAVE2  DD  DSN=ADABAS.DB010.SAVE040.PART2,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDSAVE3  DD  DSN=ADABAS.DB010.SAVE040.PART3,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDSAVE4  DD  DSN=ADABAS.DB010.SAVE040.PART4,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDDUAL1  DD  DSN=ADABAS.DB010.COPY040.PART1,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDDUAL2  DD  DSN=ADABAS.DB010.COPY040.PART2,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDDUAL3  DD  DSN=ADABAS.DB010.COPY040.PART3,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDDUAL4  DD  DSN=ADABAS.DB010.COPY040.PART4,DISP=(NEW,CATLG),

//             UNIT=CASS,...

//DDCARD   DD  *

 ADARUN  PROG=ADASAV,DSF=YES,...

//DDKARTE  DD  *

 ADASAV MERGE PATTERN=FD

 ADASAV       DRIVES=4

 ADASAV       TWOCOPIES

//DDPRINT  DD  SYSOUT=*

//DDDRUCK  DD  SYSOUT=*

Merge and Restore Database (ADASAV RESTORE DELTA)


//RESTORE  EXEC  PGM=ADARUN

//DDASSOR1 DD  DSN=ADABAS.DB010.ASSOR1,DISP=SHR

//DDDATAR1 DD  DSN=ADABAS.DB010.DATAR1,DISP=SHR

//DDWORKR1 DD  DSN=ADABAS.DB010.WORKR1,DISP=SHR

//DDPLOGR1 DD  DSN=ADABAS.DB010.PLOGR1,DISP=SHR

//DDPLOGR2 DD  DSN=ADABAS.DB010.PLOGR2,DISP=SHR

//DDCLOGR1 DD  DSN=ADABAS.DB010.CLOGR1,DISP=SHR

//DDCLOGR2 DD  DSN=ADABAS.DB010.CLOGR2,DISP=SHR

//DDDSIMR1 DD  DSN=ADABAS.DB010.DSIM,DISP=SHR

//DDREST1  DD  DSN=ADABAS.DB010.SAVE040.PART1,DISP=SHR

//DDREST2  DD  DSN=ADABAS.DB010.SAVE040.PART2,DISP=SHR

//DDREST3  DD  DSN=ADABAS.DB010.SAVE040.PART3,DISP=SHR

//DDREST4  DD  DSN=ADABAS.DB010.SAVE040.PART4,DISP=SHR

//DDDEL1   DD  DSN=ADABAS.DB010.MASTER.DELTA.OLD,DISP=SHR

//DDDEL2   DD  DSN=ADABAS.DB010.MASTER.DELTA1,DISP=SHR

//         DD  DSN=ADABAS.DB010.MASTER.DELTA2,DISP=SHR

//         DD  DSN=ADABAS.DB010.MASTER.DELTA3,DISP=SHR



//DDCARD   DD  *

 ADARUN PROG=ADASAV,DSF=YES,...

//DDKARTE  DD  *

 ADASAV RESTORE DELTA,OVERWRITE

 ADASAV         PATTERN='FDD'

 ADASAV         DRIVES=4

 ADASAV         DSIMDEV=8381

 ADASAV         PLOGDEV=3390,CLOGDEV=3390

//DDPRINT  DD  SYSOUT=*

//DDDRUCK  DD  SYSOUT=*

Restore Files (ADASAV RESTORE DELTA,FMOVE...)


//RESTORE  EXEC  PGM=ADARUN

//DDASSOR1 DD  DSN=ADABAS.DB010.ASSOR1,DISP=SHR

//DDDATAR1 DD  DSN=ADABAS.DB010.DATAR1,DISP=SHR

//DDWORKR1 DD  DSN=ADABAS.DB010.WORKR1,DISP=SHR

//DDREST1  DD  DSN=ADABAS.DB010.SAVE040.PART1,DISP=SHR

//         DD  DSN=ADABAS.DB010.SAVE040.PART2,DISP=SHR

//         DD  DSN=ADABAS.DB010.SAVE040.PART3,DISP=SHR

//         DD  DSN=ADABAS.DB010.SAVE040.PART4,DISP=SHR

//DDDEL1   DD  DSN=ADABAS.DB010.MASTER.DELTA.OLD,DISP=SHR

//DDDEL2   DD  DSN=ADABAS.DB010.MASTER.DELTA1,DISP=SHR

//DDCARD   DD  *

 ADARUN  . . .

//DDKARTE  DD  *

 ADASAV RESTORE DELTA,OVERWRITE

 ADASAV         FMOVE=10,20,30,...

//DDPRINT  DD  SYSOUT=*

//DDDRUCK  DD  SYSOUT=*

Save Database (ADASAV SAVE)


//SAVE     EXEC  PGM=ADARUN

//DDASSOR1 DD  DSN=ADABAS.DB010.ASSOR1,DISP=SHR

//DDDATAR1 DD  DSN=ADABAS.DB010.DATAR1,DISP=SHR

//DDWORKR1 DD  DSN=ADABAS.DB010.WORKR1,DISP=SHR

//DDDSIMR1 DD  DSN=ADABAS.DB010.DSIM,DISP=SHR

//DDSAVE1  DD  DSN=ADABAS.DB010.SAVE039.PART1,DISP=(NEW,CATLG)

//             UNIT=CASS,...

//DDSAVE2  DD  DSN=ADABAS.DB010.SAVE039.PART2,DISP=(NEW,CATLG)

//             UNIT=CASS,...

//DDSAVE3  DD  DSN=ADABAS.DB010.SAVE039.PART3,DISP=(NEW,CATLG)

//             UNIT=CASS,...

//DDSAVE4  DD  DSN=ADABAS.DB010.SAVE039.PART4,DISP=(NEW,CATLG)

//             UNIT=CASS,...

//DDCARD   DD  *

 ADARUN PROG=ADASAV,DSF=YES,...

//DDKARTE  DD  *

 ADASAV SAVE

 ADASAV         DRIVES=4

 ADASAV         TTSYN=10

//DDPRINT  DD  SYSOUT=*

//DDDRUCK  DD  SYSOUT=*

Save Database (ADASAV SAVE DELTA)


//SAVE     EXEC  PGM=ADARUN

//DDASSOR1 DD  DSN=ADABAS.DB010.ASSOR1,DISP=SHR

//DDDATAR1 DD  DSN=ADABAS.DB010.DATAR1,DISP=SHR

//DDWORKR1 DD  DSN=ADABAS.DB010.WORKR1,DISP=SHR

//DDDSIMR1 DD  DSN=ADABAS.DB010.DSIM,DISP=SHR

//DDSAVE1  DD  DSN=ADABAS.DB010.DELTA,DISP=OLD

//DDCARD   DD  *

 ADARUN PROG=ADASAV,DSF=YES,...

//DDKARTE  DD  *

 ADASAV SAVE   DELTA

 ADASAV        TTSYN=10

 ADASAV        DSIMDEV=8381

//DDPRINT  DD  SYSOUT=*

//DDDRUCK  DD  SYSOUT=*

Top of page

z/VM

Data Set DD Name Storage More Information
Full save input(s) DDRESTn tape/disk for RESTORE DELTA
Full save input DDFULL tape/disk for MERGE
Delta save input(s) DDDELn tape/disk for MERGE/RESTORE DELTA
Delta Save images (DSIM) DDDSIMR1 disk required for online saves
Associator DDASSORn disk  
Data Storage DDDATARn disk required for SAVE/RESTORE
Work DDWORKR1 disk required if nucleus is inactive
Dual/multiple PLOG DDPLOGRn disk optional for RESTORE DELTA
Dual/multiple CLOG DDCLOGRn disk optional for RESTORE DELTA
Recovery log DDRLOGR1 disk required for recovery log
Full or delta save
outputs
DDSAVEn tape/disk required for SAVE/SAVE DELTA /MERGE functions
Dual full or delta save outputs DDDUALn tape/disk required for TWOCOPIES
ADARUN parameters DDCARD disk/ terminal/ reader Adabas Operations documentation
ADASAV parameters DDKARTE disk/ terminal/ reader  
ADARUN messages DDPRINT disk/ terminal/ printer Adabas Messages and Codes
ADASAV messages DDDRUCK disk/ terminal/ printer Adabas Messages and Codes

Merge Delta Save Output (ADASAV MERGE)


DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1

DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM

DATADEF DDFULL,DSN=ADABASVv.SAVE039.PART1,MODE=A

DATADEF DDFULL,DSN=ADABASVv.SAVE039.PART2,MODE=A,CONCAT=1

DATADEF DDFULL,DSN=ADABASVv.SAVE039.PART2,MODE=A,CONCAT=2

DATADEF DDFULL,DSN=ADABASVv.SAVE039.PART2,MODE=A,CONCAT=3

DATADEF DDDEL1,DSN=ADABASVv.MASTER.DELTA,MODE=A



DATADEF DDSAVE1,DSN=ADABASVv.SAVE040.PART1,MODE=A

DATADEF DDSAVE2,DSN=ADABASVv.SAVE040.PART2,MODE=A

DATADEF DDSAVE3,DSN=ADABASVv.SAVE040.PART3,MODE=A

DATADEF DDSAVE4,DSN=ADABASVv.SAVE040.PART4,MODE=A

DATADEF DDDUAL1,DSN=ADABASVv.COPY040.PART1,MODE=A

DATADEF DDDUAL2,DSN=ADABASVv.COPY040.PART2,MODE=A

DATADEF DDDUAL3,DSN=ADABASVv.COPY040.PART3,MODE=A

DATADEF DDDUAL4,DSN=ADABASVv.COPY040.PART4,MODE=A

DATADEF DDPRINT,DSN=ADASAV.DDPRINT,MODE=A

DATADEF DDDRUCK,DSN=ADASAV.DDDRUCK,MODE=A

DATADEF DDCARD,DSN=RUNSAV.CONTROL,MODE=A

DATADEF DDKARTE,DSN=ADASAV.CONTROL,MODE=A

ADARUN

Contents of RUNSAV CONTROL A1:


 ADARUN PROG=ADASAV,DSF=YES...

Contents of ADASAV CONTROL A1:


  ADASAV MERGE PATTERN='FD'

   ADASAV       DRIVES=4

   ADASAV       TWOCOPIES

Merge and Restore Database (ADASAV RESTORE DELTA)


DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1

DATADEF DDDATAR1,DSN=ADABASVv.DATA,VOL=DATAV1

DATADEF DDWORKR1,DSN=ADABASVv.WORK,VOL=WORKV1

DATADEF DDCLOGR1,DSN=ADABASVv.CLOG1,VOL=CLOGV1

DATADEF DDCLOGR2,DSN=ADABASVv.CLOG2,VOL=CLOGV2

DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM

DATADEF DDREST1,DSN=ADABASVv.SAVE040.PART1,MODE=A

DATADEF DDREST2,DSN=ADABASVv.SAVE040.PART2,MODE=A

DATADEF DDREST3,DSN=ADABASVv.SAVE040.PART3,MODE=A

DATADEF DDREST4,DSN=ADABASVv.SAVE040.PART4,MODE=A

DATADEF DDDEL1,DSN=ADABASVv.DELTA1,MODE=A

DATADEF DDDEL2,DSN=ADABASVv.DELTA2,MODE=A

DATADEF DDDEL2,DSN=ADABASVv.DELTA3,MODE=A,CONCAT=1

DATADEF DDDEL2,DSN=ADABASVv.DELTA4,MODE=A,CONCAT=2

DATADEF DDPRINT,DSN=ADASAV.DDPRINT,MODE=A

DATADEF DDDRUCK,DSN=ADASAV.DDDRUCK,MODE=A

DATADEF DDCARD,DSN=RUNSAV.CONTROL,MODE=A

DATADEF DDKARTE,DSN=ADASAV.CONTROL,MODE=A

ADARUN

Contents of RUNSAV CONTROL A1:


  ADARUN PROG=ADASAV,DSF=YES...

Contents of ADASAV CONTROL A1:


 ADASAV RESTORE DELTA,OVERWRITE

  ADASAV       PATTERN='FDD'

  ADASAV       DSIMDEV=2000

  ADASAV       DRIVES=4

  ADASAV       PLOGDEV=...,CLOGDEV=...

Restore Files (ADASAV RESTORE DELTA,FMOVE...)


DATADEF DDDATAR1,DSN=ADABASVv.DATA,VOL=DATAV1

DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1

DATADEF DDWORKR1,DSN=ADABASVv.WORK,VOL=WORKV1

DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM

DATADEF DDREST1,DSN=ADABASVv.SAVE040.PART1,MODE=A

DATADEF DDREST1,DSN=ADABASVv.SAVE040.PART2,MODE=A,CONCAT=1

DATADEF DDREST1,DSN=ADABASVv.SAVE040.PART3,MODE=A,CONCAT=2

DATADEF DDREST1,DSN=ADABASVv.SAVE040.PART4,MODE=A,CONCAT=3

DATADEF DDDEL1,DSN=ADABASVv.DELTA1,MODE=A

DATADEF DDDEL2,DSN=ADABASVv.DELTA2,MODE=A

DATADEF DDPRINT,DSN=ADASAV.DDPRINT,MODE=A

DATADEF DDDRUCK,DSN=ADASAV.DDDRUCK,MODE=A

DATADEF DDCARD,DSN=RUNSAV.CONTROL,MODE=A

DATADEF DDKARTE,DSN=ADASAV.CONTROL,MODE=A

ADARUN

Contents of RUNSAV CONTROL A1:


  ADARUN PROG=ADASAV,DSF=YES...

Contents of ADASAV CONTROL A1:


   ADASAV RESTORE DELTA,OVERWRITE

    ADASAV       FMOVE=10,20,30,...

Save Database (ADASAV SAVE)


DATADEF DDDATAR1,DSN=ADABASVv.DATA,VOL=DATAV1

DATADEF DDWORKR1,DSN=ADABASVv.WORK,VOL=WORKV1

DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1

DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM

DATADEF DDSAVE1,DSN=ADABASVv.SAVE040.PART1,MODE=A

DATADEF DDSAVE2,DSN=ADABASVv.SAVE040.PART2,MODE=A

DATADEF DDSAVE3,DSN=ADABASVv.SAVE040.PART3,MODE=A

DATADEF DDSAVE4,DSN=ADABASVv.SAVE040.PART4,MODE=A

DATADEF DDPRINT,DSN=ADASAV.DDPRINT,MODE=A

DATADEF DDDRUCK,DSN=ADASAV.DDDRUCK,MODE=A

DATADEF DDCARD,DSN=RUNSAV.CONTROL,MODE=A

DATADEF DDKARTE,DSN=ADASAV.CONTROL,MODE=A

ADARUN

Contents of RUNSAV CONTROL A1:


   ADARUN PROG=ADASAV,DSF=YES...

Contents of ADASAV CONTROL A1:


   ADASAV SAVE

    ADASAV       DRIVES=4

    ADASAV       TTSYN=10

Save Database (ADASAV SAVE DELTA)


DATADEF DDDATAR1,DSN=ADABASVv.DATA,VOL=DATAV1

DATADEF DDWORKR1,DSN=ADABASVv.WORK,VOL=WORKV1

DATADEF DDASSOR1,DSN=ADABASVv.ASSO,VOL=ASSOV1

DATADEF DDDSIMR1,DSN=ADABASVv.DSIM,VOL=DSIM

DATADEF DDSAVE1,DSN=ADABASVv.SAVE,MODE=A

DATADEF DDPRINT,DSN=ADASAV.DDPRINT,MODE=A

DATADEF DDDRUCK,DSN=ADASAV.DDDRUCK,MODE=A

DATADEF DDCARD,DSN=RUNSAV.CONTROL,MODE=A

DATADEF DDKARTE,DSN=ADASAV.CONTROL,MODE=A

ADARUN

Contents of RUNSAV CONTROL A1:


  ADARUN PROG=ADASAV,DSF=YES...

Contents of ADASAV CONTROL A1:


  ADASAV SAVE DELTA

   ADASAV      TTSYN=10

   ADASAV      DSIMDEV=8381

Top of page

VSE/ESA and z/VSE

Data Set Symbolic Storage Logical Unit More Information
Full save input(s) RESTn tape/disk   for RESTORE DELTA
Full save input FULL tape
disk
SYS030
*
for MERGE
Delta save input(s) DELn tape
disk
SYS031-
SYS038 *
for MERGE or RESTORE DELTA
Delta Save images (DSIM) DSIMR1 disk   required for online saves
Associator ASSORn disk *  
Data Storage DATARn disk   required for SAVE or
RESTORE
Work WORKR1 disk   required for SAVE or
RESTORE if nucleus is
inactive
Dual/multiple PLOG PLOGRn disk * optional for RESTORE DELTA
Dual/multiple CLOG CLOGRn disk * optional for RESTORE DELTA
Recovery log RLOGR1 disk   required for recovery log
Full or delta save
outputs
SAVEn tape
disk
SYS011-
SYS018 *
required for SAVE, SAVE DELTA or MERGE
Dual full or delta save outputs DUALn tape
disk
SYS021-
SYS028 *
required if TWOCOPIES is specified
ADARUN parameters CARD disk
tape
reader
*
SYS000
SYSIPT
Adabas Operations documentation
ADASAV parameters   reader SYSIPT  
ADARUN messages   printer SYSLST Adabas Messages and Codes
ADASAV messages   printer SYS009 Adabas Messages and Codes

* Any programmer logical unit can be used.

See the VSE/ESA-related job information in section VSE/ESA Job Control for Delta Save.

For information about using ZAPs to change VSE/ESA logical units, see the Adabas Installation documentation.

Merge Delta Save Output (ADASAV MERGE)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// ASSGN SYS030,TAPE

// TLBL FULL,'EXAMPLE.DB99.SAVE01'

// TLBL FULL01,'EXAMPLE.DB99.SAVE02'

// TLBL FULL02,'EXAMPLE.DB99.SAVE03'

// TLBL FULL03,'EXAMPLE.DB99.SAVE04'

// ASSGN SYS031,TAPE

// TLBL DEL1,'EXAMPLE.DB99.DEL1'

// ASSGN SYS011,TAPE

// TLBL SAVE1,'EXAMPLE.DB99.SAVE1'

// ASSGN SYS012,TAPE

// TLBL SAVE2,'EXAMPLE.DB99.SAVE2'

// ASSGN SYS013,TAPE

// TLBL SAVE3,'EXAMPLE.DB99.SAVE3'

// ASSGN SYS014,TAPE

// TLBL SAVE4,'EXAMPLE.DB99.SAVE4'

// ASSGN SYS021,TAPE

// TLBL DUAL1,'EXAMPLE.DB99.DUAL1'

// ASSGN SYS022,TAPE

// TLBL DUAL2,'EXAMPLE.DB99.DUAL2'

// ASSGN SYS023,TAPE

// TLBL DUAL3,'EXAMPLE.DB99.DUAL3'

// ASSGN SYS024,TAPE

// TLBL DUAL4,'EXAMPLE.DB99.DUAL4'

// EXEC ADARUN,SIZE=ADARUN

ADARUN PROG=ADASAV,DSF=YES,...

/*

ADASAV MERGE PATTERN='FD'

ADASAV       DRIVES=4

ADASAV       TWOCOPIES

/*



 

Merge and Restore Database (ADASAV RESTORE DELTA)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// ASSGN SYS031,TAPE

// TLBL DEL1,'EXAMPLE.DB99.DEL1'

// ASSGN SYS032,TAPE

// TLBL DEL2,'EXAMPLE.DB99.DEL2'

// TLBL DEL201,'EXAMPLE.DB99.DEL3'

// TLBL DEL202,'EXAMPLE.DB99.DEL4'

// ASSGN SYS011,TAPE

// TLBL REST1,'EXAMPLE.DB99.SAVE1'

// ASSGN SYS012,TAPE

// TLBL REST2,'EXAMPLE.DB99.SAVE2'

// ASSGN SYS013,TAPE

// TLBL REST3,'EXAMPLE.DB99.SAVE3'

// ASSGN SYS014,TAPE

// TLBL REST4,'EXAMPLE.DB99.SAVE4'

// EXEC ADARUN,SIZE=ADARUN

ADARUN PROG=ADASAV,DSF=YES,...

/*

ADASAV RESTORE DELTA,OVERWRITE

ADASAV         DRIVES=4

ADASAV         DSIMDEV=8381

ADASAV         PATTERN='FDD'

ADASAV         PLOGDEV=3390,CLOGDEV=3390

/*

 

Restore Files (ADASAV RESTORE DELTA,FMOVE...)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// ASSGN SYS031,TAPE

// TLBL DEL1,'EXAMPLE.DB99.DEL1'

// ASSGN SYS032,TAPE

// TLBL DEL2,'EXAMPLE.DB99.DEL2'

// ASSGN SYS011,TAPE

// TLBL REST1,'EXAMPLE.DB99.SAVE1'

// TLBL REST101,'EXAMPLE.DB99.SAVE2'

// TLBL REST102,'EXAMPLE.DB99.SAVE3'

// TLBL REST103,'EXAMPLE.DB99.SAVE4'

// EXEC ADARUN,SIZE=ADARUN



ADARUN PROG=ADASAV,DSF=YES,...

/*

ADASAV RESTORE DELTA,OVERWRITE

ADASAV         FMOVE=...

/*

Save Database (ADASAV SAVE)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// ASSGN SYS011,TAPE

// TLBL SAVE1,'EXAMPLE.DB99.SAVE1'

// EXEC ADARUN,SIZE=ADARUN

ADARUN PROG=ADASAV,DSF=YES,...

/*

ADASAV SAVE

ADASAV      DRIVES=4

/*

 

Save Database (ADASAV SAVE DELTA)


// EXEC PROC=ADAVvFIL

// EXEC PROC=ADAVvLIB

// ASSGN SYS011,TAPE

// TLBL SAVE1,'EXAMPLE.DB99.SAVE1'

// EXEC ADARUN,SIZE=ADARUN

ADARUN PROG=ADASAV,DSF=YES,...

/*

ADASAV SAVE DELTA

ADASAV      TTSYN=10

ADASAV      DSIMDEV=8381,...

/*

 

Top of page