Syntax


  • IEFBR14 uses the DISP parameter to process DD statements specified along with the EXEC statement by returning the control to z/OS.
  • DISP parameter is mandatory with each dataset coded in the DD statement of IEFBR14.
  • ISPF 3.2 (Dataset Utility Panel) can also used to process the datasets in foreground mode. However, IEFBR14 utility is used for the same purpose as part of the scheduled batch run.

Syntax -

//Job-Card
//*
//STEP1    EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT   DD SYSOUT=*
//SYSDUMP  DD SYSOUT=* 
//DD1      DD DSN=datset.name, DISP=(OLD,UNCATLG,..),
//         VOLUME=SER=volume-name,UNIT=sys-name
  • SYSPRINT - This is an optional DD statement. Utility programs use it for their output.
  • SYSOUT - This is an optional DD statement. SYSOUT specifies a system-defined DD name for file status codes, system abend codes information, and the display statement output.
  • SYSDUMP - This is an optional DD statement. The system uses it for dumping when an abend occurs.
  • DD01 - This DD statement specifies dataset attributes for creation.

Considerations: -


Datasets created using IEFBR14 don't get initialized. Read attempts on those datasets will produce unpredictable results.

IBM doesn't recommend IEFBR14 for allocating multi-volume data sets.

Return Codes: -


IEFBR14 returns only below condition codes -

  • 0 - Specifies the job completed successfully.
  • JCL ERROR - Specifies the JCL has syntactical errors and needs to correct them. This happens when the utility is used to check syntax errors.