Program used in STEP5

In the JCL in STEP5, the following program is used:

 

  • JCL Template Batch Editing program (XRJCLEDT)

 

Even if you do not use the installation command, you can use the above program as necessary.

(1) JCL Template Batch Editing program

All the members beginning with "XR" in the specified library are rewritten based on the information described on the XRCRD.

Program Name

XRJCLEDT

XRCRD definition card

The format for the definition card for re-writing the JCL template is as shown below.

Definition Card Format

  a 
HULJCL=xxxxx...xxx 
  b 
[XRLOG=xxxxx...xxx] 
[XRLOG1=xxxxx...xxx] 
[XRLOG2=xxxxx...xxx] 
[XRFILE=xxxxx...xxx] 
[XRHOST=xxxxx...xxx] 
[XRQUE=xxxxx...xxx] 
  c 
[XRSYSIN=xxxxx...xxx] 
  d 
[HULLIB=xxxxx...xxx] 
  e 
[IPGET=xxxxx...xxx] 
  f 
[PORTGET=xxxxx...xxx] 
  g 
[XREXTLIB=xxxxx...xxx] 
  h 
[INDD=xxxxx...xxx]

Definition card contents

a. JCL template library name

Specify the library name of the JCL template to be rewritten. You cannot omit the specification.

b. HULFT system file name

Specify the system file name.

c. System Environment Settings file name

Specify the System Environment Settings file name.

d. HULFT load module library name

Specify the load module library name.

e. IP management file name

Specify the IP management file name.

f. PORT management file name

Specify the PORT management file name.

g. HULFT load module library name

Specify the load module library name if you intend to use custom characters.

h. Observe definition file name

Specify the observe definition file name.

Note

If all of the following are omitted, an error occurs. Specify at least one item.

  • b. HULFT system file name

  • c. System Environment Settings file name

  • d. HULFT load module library name

  • e. IP management file name

  • f. PORT management file name

  • g. HULFT load module library name

  • h. Observe definition file name

= Remarks =
  • If the first line begins with "*," the line is treated as a comment line, and skipped when reading.

  • You cannot include spaces between the tags and specification values. All of the specification following a space is treated as a comment.

  • The record start position is your choice.

  • If the specification meets any of the following conditions, an error will occur, and all records following will not be read.

    • When an invalid tag is specified

    • When a tag is repeated

    • When there is an error in the specification method

    • When there is an extra tag or a tag is missing

  • You cannot make a specification across multiple records.

Example of JCL

[JCL template: HULFT.JCL(XRJCLEDT)]

//XRJCLEDT JOB  CLASS=A,MSGCLASS=B
//XRJCLEDT EXEC PGM=XRJCLEDT,REGION=1024K
//STEPLIB  DD   DISP=SHR,DSN=HULFT.LOAD
//SYSOUT   DD   SYSOUT=*
//SYSUDUMP DD   SYSOUT=*
//XRCRD    DD   *
HULJCL=HULFT.JCL
XRLOG=HULFT.LOG
XRLOG1=HULFT.LOG.PATH1
XRLOG2=HULFT.LOG.PATH2
XRFILE=HULFT.FILE
XRHOST=HULFT.HOST
XRQUE=HULFT.QUEUE
XRSYSIN=HULFT.PARMLIB(HULPRM)
HULLIB=HULFT.LOAD
IPGET=HULFT.PARMLIB(HOSTS)
PORTGET=HULFT.PARMLIB(PROFILE)
XREXTLIB=HULFT.LOAD
INDD=HULFT.PARMLIB(HULAPT)
/*
//

DD Name

Value

Description

STEPLIB

HULFT.LOAD

HULFT load module library