IMS DB – Cobol Basics We include DL/I calls inside COBOL application program to communicate with IMS database. We use the following DL/I statements in COBOL program to access the database − Entry Statement Goback Statement Call Statement Entry Statement It is used to pass the control from the DL/I to the COBOL program. Here […]
IMS DB – DL/I Processing IMS DB stores data at different levels. Data is retrieved and inserted by issuing DL/I calls from an application program. We will discuss about DL/I calls in detail in the upcoming chapters. Data can be processed in the following two ways − Sequential Processing Random Processing Sequential Processing When segments […]
IMS DB – PCB Mask PCB stands for Program Communication Block. PCB Mask is the second parameter used in the DL/I call. It is declared in the linkage section. Given below is the syntax of a PCB Mask − 01 PCB-NAME. 05 DBD-NAME PIC X(8). 05 SEG-LEVEL PIC XX. 05 STATUS-CODE PIC XX. 05 PROC-OPTIONS […]