Skip to content
JCL & batch

Utility program

A supplied program that performs a standard job such as copying, sorting, comparing or managing datasets, driven by control statements.

Also written utilities, IBM utilities

Utilities are the ready-made tools of batch work. Rather than writing a program to copy a file or sort records, you run a utility and tell it what to do through control statements supplied in the JCL.

They follow a recognisable pattern. The EXEC statement names the utility, DD statements supply the input and output datasets under conventional names, and a SYSIN statement provides the commands. Their reports come back on SYSPRINT.

The ones you meet early are IDCAMS for managing datasets and VSAM, DFSORT for sorting and reformatting records, IEBGENER for copying sequential data, IEBCOPY for working with library members, and IEFBR14 for doing nothing at all in a useful way.

Their names look impenetrable and largely are, since they follow an old IBM naming scheme rather than describing themselves. But there are only a handful in everyday use, and learning those covers a surprising proportion of real batch work. A great deal of production JCL contains no custom programs whatsoever, only utilities strung together.

Browse all 115 terms

Learn this properly.

Use Utility program for real in Mainframe101, in your browser, with Zed beside you. Join the waitlist.

Early access and updates. No spam, unsubscribe any time.