You are on page 1of 1

IEFBR14 IEFBR14 is an IBM utility module which performs two simple functions: -it loads register 15 with a value

of 0 -it then does a branch to the address in register 14 Since register 14 is the standard IBM program linkage "return address" register, this immediately returns control to the calling program. And since register 15 is the standard IBM program linkage "return code" register, the return code passed back to the calling program is always 0. If the calling program is an application program which calls IEFBR14 according to standard IBM program linkage conventions, then IEFBR14 acts as a subroutine which immediately returns to the calling program and always passes back a return code of 0. In other words, it functions as a subroutine "stub" which can be useful in some testing situations. If IEFBR14 is executed as a standalone batch program; i.e., //JS10 EXEC PGM=IEFBR14 then it provides a convenient way to insert a job step into a given job which is guaranteed to set a return code of zero. This job step can also be used to catalog or delete specified data sets from within a batch job. For example, to delete existing, cataloged data set 'MY.DATA.SET', the following job step could be used: //JS20 EXEC PGM=IEFBR14 //DD1 DD DSN=MY.DATA.SET,DISP=(OLD,DELETE)

You might also like