IMS/DL/I Database Programming
Test your knowledge of IMS (Information Management System) database programming concepts including DL/I calls, command codes, SSAs, PCBs, and IMS processing modes.
Questions
What of the following is not a sequential processing?
- Using a series of GN calls followed by a GNP call
- Using unqualified SSA's with GNP
- Using qualified SSA's with GU
- Using qualified SSA's with GN
- Using no SSA's with GNP
Which is not a IMS mode of processing
- DLI
- BMP
- CMP
- MPP
What segment processing occurs when you issue a DLET?
- The original segment is deleted and a status code is returned, prompting the program for further deletes.
- The segment at the highest level in the hierarchy is deleted.
- The segment is deleted and a new SSA must be specified on the next call.
- A delete does not occur unless the correct segment has been called.
- The segment and all subordinate segments are deleted.
What is the first required call before a replace?
- REPL
- GHU
- ISRT
- G
- GN
GHU SUPPLIERD(SUPPLRNO=10) PARTSIZEDN What does IMS do if you use the D and N command codes together as illustrated in the sample code above?
- The segment is retrieved, but is not replaced.
- The N command code applies only to ISRT calls
- An error is raised.
- The command code N is ignored.
- The segment is retrieved and is replaced.
What command code causes more than one segment to be brought into the I/O area with a single call?
- C
- D
- I
- L
- O
What rule must you meet in order to fully qualify the GU call?
- The PCB status code must be included.
- SSBs must be freed before call.
- A get call must be issued first.
- SSAs must be included for segments.
- Segment name must be specified for SSA
What must be completed before a GNP is issued with the database?
- All data must be sorted.
- All children must be grouped.
- The parent must be established
- All parents must be grouped.
- Finite control must be released.
Which one of the following is a DL/I CALL that retrieves a unique occurrence?
- PCB
- GN
- GNP
- GHU
- GHNP
Which of the following is not passed as parameter to the IMS cobol program from JCL
- Program name
- PSB name
- IMS mode of processing
- DBD name
Which of the following are not mentioned in DBD
- Number of sensitive segments
- Dataset
- Segment name
- Field name
Which procopt is used to read from a segment
- G
- R
- I
- D
- P
01 UNQUALIFIED-SSA.
05 UNIQUE-SSA-SEGMENT-NAME PIC(8).
05 FILLER1 PIC X VALUE '*-'.
What does "–" in filler1 specify?
- Back to beginning of database
- Coding error
- No Command code used
- Concatenated command code
- Symantec error
WS area contains definition of all except
- SSA
- PCB
- Fuction code
- IO Area
IMS uses what kind of database management
- Heirarchical
- Network
- Relational
- Object oriented
Segment is the smallest info that DLI can fetch
- True
- False
Command code for path call
- C
- P
- D
- K
- V
Command code used to set parentage
- P
- C
- D
- U
- V
Which of the following is invalid call.
- CALL 'CBLTDLI' USING DLI-ISRT
- CALL 'CBLTDLI' USING DLI-GHP
- CALL 'CBLTDLI' USING DLI-GU
- CALL 'CBLTDLI' USING DLI-GPH
- CALL 'CBLTDLI' USING DLI-REPL
CALL 'CBLTDLI' USING ?? i-o area pcb mask SSA Referring to the code above, what is the first parameter coded on the DL/I CALL?
- The return code area
- The programming language
- The segment length
- The access type
- The DL/I function code