Job Control Language (JCL) Utilities

JCL Utilities are pre-written programs, widely used in mainframe to achieve day-to-day requirements, organizing and maintaining data. It is used to reorganize, change or compare data at the data set or record level.

These utilities allow to manipulate data sets, which are provided as input to the programs.

  1. IEBCOPY –
    It is used to copy one or more members from existing dataset to a new or existing PDS dataset, used for compressing PDS, loading PDS to TAPE and unloading from TAPE to DISK.
  2. IEBGENER –
    It is used to copy or print sequential data sets. Also used to copy any TAPE file to DISK or DISK to TAPE.
  3. IEHLIST –
    It is system utility used to list entries in the directory of one or more PDS, entries in the catalog or list the contents of a Volume Table of Contents (VTOC).
  4. IEHMOVE –
    It is used to move one dataset from one volume to another volume.
  5. IEBCOMPR –
    It is used to compare the contents of two PS or PDS datasets.
  6. IEBEDIT –
    It is used to create a JCL containing a selection of job steps. These job steps can be entered into the job stream for processing.
  7. IEHPROGM –
    It is used for deleting or renaming data sets or members and for cataloging or uncataloging non-VSAM data sets.
  8. DFSORT & SYNCSORT –
    It is powerful IBM utility used to copy, sort or merge datasets. SYSIN DD statement is used to specify the conditions. It is used to achieve many functionalities,

    1. COPY all records from SORTIN to SORTOUT.
    2. SKIP first 100 records and then copy 20 records.
    3. SORT the input file in the order of the specified field position.
    4. INCLUDE or OMIT record in input file based on condition.
    5. MERGE input files in the order of the specified field position.
    6. JOIN two or more input files based on specified JOIN KEY in input file.
    7. To remove duplicates
    8. SUM the values for same-key records.
    9. Add sequence number to the output file.
    10. Restructure the input file before feeding to sort.
    11. To create multiple files from single input file.
    12. Restructure the sorted file before writing.
  9. ICETOOL –
    It is a wrapper around DFSORT, is another IBM utility used to perform a variety of operations on datasets. The file operations are specified in the TOOLIN DD statement.

    1. copy unique, selected and duplicate records.
    2. To get statistics(maximum, average and total) of a numeric field.
    3. Count unique values in a field.
  10. IDCAMS –
    Generates and modifies VSAM and Generation Data Groups (GDG) datasets. The Commands that carry out IDCAMS tasks include DEFINE, PRINT, LISTCAT, REPRO, ALTER, VERIFY and DELETE. It Creates versioned files for GDGs on a chronological basis. It List VSAM dataset attributes and Delete unwanted datasets.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


1


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.