TSO-ISPF JCL COBOL VSAM DB2 CICS IMS-DB Tools Articles Forum Quiz Interview Q&A

IMS DL/I Function Codes


The DL/I function codes may broadly be classified into 3 types. They are,

  1. RETRIEVAL CODES

    • GU GET UNIQUE

    • GN GET NEXT

    • GNP GET NEXT WITHIN PARENT

  2. UPDATION CODES

    • ISRT INSERT

    • DLET DELETE

    • REPL REPLACE

  3. GET-HOLD CODES

    • GHU GET-HOLD UNIQUE

    • GHN GET-HOLD NEXT

    • GHNP GET-HOLD NEXT WITHIN PARENT


Retrieval of Information:

Retrieval of information from an IMS database can be done in two ways.

  1. Random Retrieval

    GU & GHU function codes are used

  2. Sequential Retrieval

    GN, GNP, GHN AND GHNP function codes are used



If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on IBMMainframer Community!

Are you looking for Job Change? Job Portal