codegurukool.com · Free coding tutorials & online compiler

Home › Mainframe Tutorial › IEBGENER and IEFBR14 utilities

IEBGENER and IEFBR14 utilities

Small programs that do common jobs.

IEBGENER copies one dataset to another or prints it. IEFBR14 does nothing, so it is used only for its DD statements: to create or delete datasets.

Example code

//DELJOB JOB (ACCT),'DELETE',CLASS=A,MSGCLASS=X
//STEP1    EXEC PGM=IEFBR14
//OLD      DD DSN=USER1.TEST.DATA,DISP=(OLD,DELETE,DELETE)

Run this code in the online editor

← DFSORT utilityVSAM and IDCAMS →