Previous Topic: One-Step z/VSE JCL—Central VersionNext Topic: Five-Step z/VSE JCL—Central Version


One-Step z/VSE JCL—Local Mode

Here is sample one-step z/VSE JCL to execute CA Culprit batch jobs in local mode:

CA Culprit one-step (local mode) (z/VSE)

// JOB    CULP1STP
// DLBL   idmslib,'idms.library'
// EXTENT sysxxx,vvvvvv,,,ssss,tttt
// ASSGN  sysxxx,DISK,VOL=vvvvvv,SHR
// LIBDEF *,SEARCH=CA-IDMS libraries
// EXEC PROC=idmslbls
// ASSGN  SYS004,SYSLST
// DLBL   SYS005,'sprmwork',0
// EXTENT SYS005,vvvvvv,,,ssss,tttt
// ASSGN  SYS005,DISK,VOL=vvvvvv,SHR
// DLBL   SYS006,'sextwork',0
// EXTENT SYS006,vvvvvv,,,ssss,tttt
// ASSGN  SYS006,DISK,VOL=vvvvvv,SHR
// DLBL   SYS007,'srtpwork',0
// EXTENT SYS007,vvvvvv,,,ssss,tttt
// ASSGN  SYS007,DISK,VOL=vvvvvv,SHR
// DLBL   SYS008,'nsrtwork',0
// EXTENT SYS008,vvvvvv,,,ssss,tttt
// ASSGN  SYS008,DISK,VOL=vvvvvv,SHR
// DLBL   SORTWK1,'sortwk1.fileid',0
// EXTENT sysxxx,vvvvvv,,,ssss,tttt
// ASSGN  sysxxx,DISK,VOL=vvvvvv,SHR
// DLBL   SORTWK2,'sortwk2.fileid',0
// EXTENT sysxxx,vvvvvv,,,ssss,tttt
// ASSGN  sysxxx,DISK,VOL=vvvvvv,SHR
// DLBL   SORTWK3,'sortwk3.fileid',0
// EXTENT sysxxx,vvvvvv,,,ssss,tttt
// ASSGN  sysxxx,DISK,VOL=vvvvvv,SHR
// DLBL   IJSYSPH,'syspch.dsn'
// EXTENT SYSPCH,vvvvvv,,,ssss,tttt
// ASSGN  SYSPCH,DISK,VOL=vvvvvv,SHR
// DLBL   SYS002,'user.keyfile'
// EXTENT SYS002,vvvvvv,,,ssss,tttt
// ASSGN  SYS002,DISK,VOL=vvvvvv,SHR
// ASSGN  sysxxx,IGN                        *This is for SYSJRNLS*
// TLBL   SYS010,'user.inputfil'
// ASSGN  SYS010,cuu
// TLBL   SYS011,'user.matchfil'
// ASSGN  SYS011,cuu
// TLBL   SYS020,'user.nonprint'
// ASSGN  SYS020,cuu
// DLBL   SYSIDMS,'sysidms.parms'
// EXTENT sysxxx,vvvvvv,,,ssss,tttt
// ASSGN  sysxxx,DISK,VOL=vvvvvv,SHR
// EXEC   Culprit,SIZE=1024K
  Put CA Culprit commands here
/*
  Put user input here if on cards
/*
  Restart parameter
/*
/&

idmslib

File Name of the CA IDMS library

'idms.library'

File-id of the CA IDMS library, as established during installation

sysxxx

SYS number

vvvvvv

Volume serial number

ssss

Starting extent

tttt

Number of tracts

CA IDMS libraries

The CA IDMS libraries, as established during installation

idmslbls

A procedure containing file definitions for dictionaries, sample databases, disk journal files, and the SYSIDMS file.

For more information, see IDMSLBLS Procedure.

sprmwork

Data set name of sorted parameters file that contains the output from the first sort step

srtpwork

Data set name of the sort-control parameter file contains the output from the first sort step

sextwork

Data set name of sorted extracted items file

nsrtwork

Data set name of unsorted extract output data set

srtwk1.fileid

Data set name of sort workfile

srtwk2.fileid

Data set name of sort workfile

srtwk3.fileid

Data set name of sort workfile

syspch.dsn

File for punched card output

user.keyfile

Data set name of a key file (required only if a key file is input)

user.inputfil

Data set name for primary input file

cuu

Address of the tape device

user.matchfil

Data set name for match file (default ddnames for subsequent files are SYS012, SYS013, and so on)

user.nonprint

Data set name for nonprint/nonpunch output (omitted is there are no such files; default ddnames for subsequent nonprint/nonpunch output files are SYS021, SYS022, on so on)

sysctl

Procedure name that contains the SYSCTL file

idms.sysmsg.ddldcmsg

Data set name of the system message (DDLDCMSG) area

sysidms.parms

Data set name of the SYSIDMS file that contains the dmcl-name and other appropriate SYSIDMS parameters

dmcl-name

Name of the DMCL