GO-V.ORG
As seen in

IEFBR14

IEFBR14 is a utility program that runs on mainframe computers from IBM.[src] It runs in all mainframe environments derived from OS/360, including z/OS.[src] It is a placeholder that returns the exit status zero, similar to the true command on UNIX-like systems.[src]

IEFBR14 is a utility program that runs on mainframe computers from IBM.[src] It runs in all mainframe environments derived from OS/360, including z/OS.[src] It is a placeholder that returns the exit status zero, similar to the true command on UNIX-like systems.[src] === Allocation (also called initiation)=== On OS/360 and derived mainframe systems, most programs never specify files (usually called datasets) directly, but instead reference them indirectly through the Job Control Language (JCL) statements that invoke the programs.[src] These data definition (or " DD ") statements can include a "disposition" ( DISP=...[src] ) parameter that indicates how the file is to be managed — whether a new file is to be created or an old one re-used; and whether the file should be deleted upon completion or retained; etc.[src] IEFBR14 was created because while DD statements can create or delete files easily, they cannot do so without a program to be run due to a certain peculiarity of the Job Management system, which always requires that the Initiator actually execute a program, even if that program is effectively a null statement.[src] The program used in the JCL does not actually need to use the files to cause their creation or deletion — the DD DISP=...[src] specification does all the work.[src] Thus a very simple do-nothing program was needed to fill that role.[src] IEFBR14 can thus be used to create or delete a data set using JCL.[src] ===Deallocation (also called termination)=== A secondary reason to run IEFBR14 was to unmount devices (usually tapes or disks) that had been left mounted from a previous job, perhaps because of an error in that job's JCL or because the job ended in error.[src] In either event, the system operators would often need to unmount the devices, and a started task – DEALLOC – was often provided for this purpose.[src] Simply entering the command S DEALLOC at the system console would run the started task, which consisted of just one step.[src] However, due to the design of Job Management, DEALLOC must actually exist in the system's procedure library, SYS1.PROCLIB, lest the start command fail.[src] Also, all such started tasks must be a single jobstep as the "Started Task Control" (STC) module within the Job Management component of the operating system only accepts single-step jobs, and it fails all multi-step jobs, without exception.[src] //STEP01 EXEC PGM=IEFBR14 //IEFBR14 JOB ACCT,'DELETE DATASET',MSGCLASS=J,CLASS=A //STEP0001 EXEC PGM=IEFBR14 //DELDD DD DSN=xxxxx.yyyyy.zzzzz, // DISP=(MOD,DELETE,DELETE),UNIT=DASD To create a Partitioned Data Set: //TZZZ84R JOB NOTIFY=&SYSUID,MSGCLASS=X //STEP01 EXEC PGM=IEFBR14 //DD1 DD DSN=TKOL084.DEMO,DISP=(NEW,CATLG,DELETE), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=80,DSORG=PO), // SPACE=(TRK,(1,1,1),RLSE), // UNIT=SYSDA IEFBR14 consisted initially of a single instruction a "Branch to Register" 14.[src] The mnemonic used in the IBM Assembler was BR and hence the name: IEF BR 14.[src] BR 14 is identically equivalent to BCR 15,14 (Branch Always [ mask = 15 = always ] to the address contained in general purpose register 14).[src] BR is a pseudo instruction for BCR 15,[reg number].[src] The system assembler accepts many cases of such pseudo-instructions, as logical equivalents to the canonical System/360 instructions.[src] The canonical instance of BR 14 is BCR 15,14.[src] The linkage convention for OS/360 and its descendants requires that a program be invoked with register 14 containing the address to return control to when complete, and register 15 containing the address at which the called program is loaded into memory; at completion, the program loads a return code in register 15, and then branches to the address contained in register 14.[src] But, initially IEFBR14 was not coded with these characteristics in mind, as IEFBR14 was initially used as a dummy control section, one which simply returned to the caller, not as an executable module.[src] The original version of the program did not alter register 15 at all as its original application was as a placeholder in certain load modules which were generated during Sysgen (system generation), not as an executable program, per se.[src] Since IEFBR14 was always invoked by the functional equivalent of the canonical BALR 14,15 instruction, the return code in register 15 was always non-zero.[src] Later, a second instruction was to be added to clear the return code so that it would exit with a determinate status, namely zero.[src] Initially, programmers were not using all properties of the Job Control Language, anyway, so an indeterminate return code was not a problem.[src] However, subsequently programmers were indeed using these properties, so a determinate status became mandatory.[src] This modification to IEFBR14 did not in any way impact its original use as a placeholder.[src] The machine code for the modified program is: SR R15,R15 put zero completion code into register 15 BR R14 branch to the address in register 14 (which is actually an SVC 3 instruction in the Communications Vector Table) The equivalent machine code, eliminating the BR for clarity, is: SR R15,R15 put zero completion code into register 15 SVC 3 issue EXIT SVC to terminate the jobstep This makes perfect sense as the OS/360 Initiator initially "attaches" the job-step task using the ATTACH macro-instruction (SVC 42), and "unwinding" the effect of this ATTACH macro (it being a Type 2 SVC instruction) must be a complementary instruction, namely an EXIT macro (necessarily a Type 1 SVC instruction, SVC 3).[src] ==See also== - the Unix-equivalent "do nothing" program ==References== Trombetta, Michael & Finkelstein Sue Carolyn (1985).[src] "OS JCL and utilities".[src] Addison Wesley.[src] page 152.[src]

38 sentences · 38 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"IEFBR14." encyclopegia.org, 2025, https://encyclopegia.org/wiki/iefbr14. Accessed 05 December 2026.

Chicago

"IEFBR14." encyclopegia.org. Accessed December 5, 2026. https://encyclopegia.org/wiki/iefbr14.

APA

encyclopegia.org. (2025). IEFBR14. Retrieved December 5, 2026, from https://encyclopegia.org/wiki/iefbr14

Accessed December 5, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1328093514 · 0.5 · snapshot enwiki-001328093514

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.