GET
Enhanced Definition
In the context of IBM IMS (Information Management System) databases, `GET` refers to a set of DL/I (Data Language/I) calls used by application programs (e.g., COBOL, PL/I, Assembler) to retrieve segments from an IMS hierarchical database. It is the primary mechanism for reading data from IMS DB, allowing programs to navigate and extract specific data based on defined criteria.
Key Characteristics
-
- DL/I Interface:
GETcalls are part of the Data Language/I API, which is the standard interface for application programs to interact with IMS databases. - Segment-Level Retrieval: Data is retrieved at the segment level, meaning an entire segment occurrence is returned to the application program's I/O area.
- Hierarchical Navigation:
GETcalls implicitly or explicitly navigate the hierarchical structure of an IMS database, moving down and across segments based on the call type and specified Segment Search Arguments (SSAs). - Program Communication Block (PCB): Each
GETcall operates using a PCB, which represents the application program's view of a database (defined by a PSB) and maintains its current position within that database. - Types of GET Calls: Includes
GU(Get Unique) for direct access,GN(Get Next) for sequential processing, andGNP(Get Next within Parent) for sequential processing within a specific parent segment. - Segment Search Arguments (SSAs): Optional clauses used with
GETcalls to qualify which segment occurrences are to be retrieved, based on key fields or other criteria, enabling precise data selection.
- DL/I Interface:
Use Cases
-
- Retrieving a Specific Record: Using a
GUcall with fully qualified SSAs to directly access a unique root segment and its dependent segments (e.g., retrieving a specific customer's entire profile). - Sequential Processing: Iterating through all occurrences of a specific segment type or processing segments within a particular hierarchical path using
GNorGNPcalls (e.g., listing all orders for a given customer). - Batch Reporting: Extracting large volumes of data from an IMS database for generating reports, performing analytics, or populating data warehouses.
- Online Transaction Processing (OLTP): CICS transactions utilizing
GETcalls to quickly retrieve and display specific pieces of information (e.g., checking product availability or a customer's account balance). - Data Validation and Existence Checks: Reading existing data to verify its integrity, check for duplicates, or confirm the presence of related records before performing updates or insertions.
- Retrieving a Specific Record: Using a
Related Products
Related Vendors
ABA
3 products
ASE
3 products
IBM
646 products
Pi-Systemprogrammierungs
5 products
Sungard
2 products
Applied Software
7 products
Related Categories
Operating System
154 products
Tools and Utilities
519 products
Administration
395 products
Performance
171 products