Consider the following code snippet.
MOVE +80 TO WS-A.
MOVE '10000' TO WS-B.
MOVE 5 TO WS-C.
EXEC CICS READ
        FILE ('ABCD')
        INTO (WS-D)
        LENGTH (WS-A)
         RIDFLD (WS-B)
         KEYLENGTH (WS-C)
END-EXEC.

EXEC CICS DELETE
        FILE('ABCD')
END-EXEC. 
Assume that the record with key 10000 exists.
What is deleted when the program containing the above code is executed?

 The entire file ABCD is deleted
 The record with key 10000 is deleted
 The program throws an error
 None of the options
Verified Answer
Correct Option - c

To get all Infosys Certified Mainframe CICS Programmer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram