DL/I Function

DL/I function identifies the DL/I function being requested.  Some of the most common functions include:

  • GU (GET UNIQUE): Retrieve the first input message (IMS/DC), or retrieve a database segment, position for further processing, and retain the segment for an update or delete (IMS DB)

  • GN (GET NEXT): Retrieve subsequent input messages (IMS/DC), or retrieve the next database segment (IMS DB)

  • GHU (GET HOLD UNIQUE): Retrieve a database segment, position for further processing, and retain the segment for an update or delete

  • GHN (GET HOLD NEXT): Retrieve the next database segment and hold it for an update or delete (IMS DB)

  • GNP (GET NEXT WITHIN PARENT): Retrieve the next database segment in the current hierarchy (IMS DB)

  • GHNP (GET HOLD NEXT WITHIN PARENT): Retrieve the next database segment in the current hierarchy, and hold it for an update or delete (IMS DB)

  • ISRT (INSERT): Send an output message (IMS/DC), or add a new database segment occurrence (IMS DB)

  • REPL (REPLACE): Replac a new database segment occurrence (IMS DB)

  • DLET (DELETE): Delete the currently held database segment and its dependents, if any