MVS/JCL environment - IBM Mainframe

A utility is exactly what its name implies, a useful tool that helps in expediting a task. MVS provides a number of pre-written utility programs that can be used by analysts, system programmers, and application programmers to assist them in maintaining and organizing data.

Some of the functions that are frequently required by application programmers that work in MVS/JCL environment are the following:

  • Copy sequential files
  • Copy partitioned data sets
  • Catalog data sets
  • Uncatalog data sets
  • Rename data sets
  • Compress partitioned data sets
  • Include members to partitioned data sets when a copy transaction is implemented
  • Exclude members to partitioned data sets when a copy transaction is implemented
  • Compare sequential data sets
  • Compare partitioned data sets
  • Create/delete data sets, allocate/de allocate space on data sets or code other functions on the DD statement, without having to execute a program.
  • Generate generation data groups (GDSs)

JCL Required to Execute the Utilities

The JCL statements which are required to execute utility programs follow a general pattern. Once you have a group of statements that successfully execute a utility program, you need to make only minor changes in order to execute another. Following is a JCL in pseudo-code that execute a utility program:

JCL Required to Execute the Utilities

This is perhaps the most commonly used utility programs. It is used to copy one sequential file to another. The original data set and the destination names must be specified. Attributes of both the data sets such as RECFM, LRECL, must be the same. The JCL used to execute this utility is as follows:

JCL used to execute this utility


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM Mainframe Topics