Previous Topic: Sample z/OS JCLNext Topic: Printing CA Dataquery Panels


Sample z/VSE JCL

Unload to Disk

Use the following JCL to run a batch language maintenance job to unload the table to a disk file. To unload a single language, replace the R=UNLOAD with R=UNLOAD,LANGUAGE=cc where cc is the 2-character language code you want to back up.

 * $$ JOB ...           See Preparing JCL for Batch CA Dataquery Utilities.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see Preparing JCL for Batch CA Dataquery Utilities.
 *  Specify the following according to your site standards:
 // ASSGN SYSnnn,DISK,VOL=volser,SHR
 // DLBL DQLMUND,'dq.lang.backup.dataset',,SD
 // EXTENT SYSnnn,volser
 // EXEC DQLANGMT,SIZE=50K
 DOSFILE=DISK
 R=UNLOAD
 /*
 /&
 * $$ EOJ
DLBL DQLMUND,

DQLMUND is an output data set for a DQLANGMT unload of panels. If it is to reside on disk, a control statement specifying DOSFILE=DISK must be included.

DOSFILE=

If DOSFILE=DISK is specified, the output data set must have a name of DQLMUND and the panel output must be written to disk.

Unload to Tape

Use the following JCL to run a batch language maintenance job to unload the table to a tape.To unload a single language, replace the R=UNLOAD with R=UNLOAD,LANGUAGE=cc where cc is the 2-character language code you want to back up.

 * $$ JOB ...           See Preparing JCL for Batch CA Dataquery Utilities.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see Preparing JCL for Batch CA Dataquery Utilities.
 *  Specify the following according to your site standards:
 // ASSGN SYS020,cuu
 // TLBL DQLMUNT,'dq.lang.backup.dataset'
 // EXEC DQLANGMT,SIZE=50K
 DOSFILE=TAPE
 R=UNLOAD
 /*
 /&
 * $$ EOJ
TLBL DQLMUNT,

DQLMUNT is an output data set for a DQLANGMT unload of panels. If it is to reside on tape, a control statement specifying DOSFILE=TAPE must be included.

DOSFILE=

If DOSFILE=TAPE is specified, the output data set must have a name of DQLMUNT and the panel output must be written to tape.

Load from Disk

Use the following JCL to run a batch language maintenance job to do a load from a disk file.

 * $$ JOB ...           See Preparing JCL for Batch CA Dataquery Utilities.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see Preparing JCL for Batch CA Dataquery Utilities.
 *  Specify the following according to your site standards:
 // ASSGN SYSnnn,DISK,VOL=volser,SHR
 // DLBL DQLMLOD,'dq.lang.backup.dataSet',,SD
 // EXTENT SYSnnn,volser
 // EXEC DQLANGMT,SIZE=50K
 DOSFILE=DISK
 R=LOAD
 /*
 /&
 * $$ EOJ
DLBL DQLMLOD,

DQLMLOD is an intput data set for a DQLANGMT load of panels. If the data set resides on disk, a control statement specifying DOSFILE=DISK must be included.

DOSFILE=

If DOSFILE=DISK is specified, the input data set must have a name of DQLMLOD and the panel input must come from disk.

Load from Tape

Use the following JCL to run a batch language maintenance job to do a load from either a user-created backup tape or a CA-provided tape.

 * $$ JOB ...           See Preparing JCL for Batch CA Dataquery Utilities.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see Preparing JCL for Batch CA Dataquery Utilities.
 *  Specify the following according to your site standards:
 // ASSGN SYSnnn,cuu
 // TLBL DQLMLOT,'dq.lang.backup.data set'
 // EXEC DQLANGMT,SIZE=50K
 DOSFILE=TAPE
 R=LOAD
 /*
 /&
 * $$ EOJ
TLBL DQLLMLOT,

DQLMLOT is an input data set for a DQLANGMT load of panels. If the data set resides on tape, a control statement specifying DOSFILE=TAPE must be included.

DOSFILE=

If DOSFILE=TAPE is specified, the input data set must have a name of DQLMLOT and the panel input must come from tape.