What is the DLI function code to restart a program ?
XRST
SYNC
FCHK
CCHK
What is the PROCOPT option to use, if you doesn't want IMS to lock the segment?
G
GON
GO
GOT
What is the last statement in a COBOL-IMS pgm?
STOP RUN
EXIT
STOP
GO BACK
What are the status codes returned: a) If the IMS database is offline b) Program Attempt to insert a segment with a duplicate key
AJ, FW
DJ, FH
FH, II
II, FH
What is the function code for condition checkpoint call?
CHK
CHKK
WS-XYZ PIC S9(5) USAGE COMP-3. How many bytes will this occupy?
2
3
4
5
WS-COUNT PIC 9 VALUE 1... PERFORM UNTIL WS-COUNT >= 2 DISPLAY WS-COUNT ADD +1 TO WS-COUNTEND-PERFORMWhat will be the output?
9
1
1, 2
01 WS-CHECK PIC X 88 TCS VALUE Y . . . MOVE 'T' TO WS-CHECK IF TCS DISPLAY 'T' ELSE DISPLAY 'X' END-IF What will be the output?
X
Y
T
S
01 WS-ABCD PIC X(8) VALUE SPACES . . . INSPECT WS-ABCD TALLYING WS-COUNT FOR ALL SPACES DISPLAY WS-COUNT What will be the output?
0
8
CALL 'PGMA' USING WS-XYX. Is this a static call or dynamic call?
Always static
Always dynamic
Depends on compiler option
Neither static nor dynamic