Naming the JCL member

The name specified on the START command is used to search for the JCL for the started task.

The system first searches the data sets specified in the IEFJOBS DD of the Master JCL, looking for a member with the specified name and which begins with a JOB statement. If one is found, that JCL is submitted. Any procedures within the JCL are expanded using the data sets appropriate for the subsystem under which the job will be run (for example, SUB=MSTR, SUB=JES2 or SUB=JES3).

If a member with a JOB statement is not found in the IEFJOBS DD statement of the Master JCL, the system searches the data sets specified in the IEFPDSI DD of the Master JCL, looking for a member with the specified name and which begins with a JOB statement. If one is found, that JCL is submitted. Any procedures within the JCL are expanded using the data sets appropriate for the subsystem under which the job will be run (for example, SUB=MSTR, SUB=JES2 or SUB=JES3).

If a member with a JOB statement is not found in the IEFPDSI DD statement of the Master JCL, the system builds a JOB statement and searches the data sets specified in the procedure libraries appropriate for the subsystem under which the job will be run (for example, SUB=MSTR, SUB=JES2 or SUB=JES3), looking for a member with the specified name. If one is found, that JCL is appended to the JOB statement which was constructed and the JCL is submitted. Any procedures within the JCL are expanded using the data sets appropriate for the subsystem under which the job will be run (for example, SUB=MSTR, SUB=JES2 or SUB=JES3).

The following should be taken into consideration when naming members to be placed in the IEFJOBS data sets.
  • Do not use the member name IEESYSAS. This name is reserved by the system for use in starting system address spaces. The IEESYSAS procedure is shipped in SYS1.PROCLIB.
  • Be careful when using member names that are already in use in SYS1.PROCLIB and any other data sets specified in the IEFPDSI DD of the Master JCL. Doing so will cause the IEFJOBS data set member to override the existing JCL.