Multiple choice technology programming languages

How can you identify End of file in CLP program?

  1. ENDPGM

  2. STRPGM

  3. With the help of MONMSG MSGID(CPF0864) we can identify end of file in clp program.

  4. STRDBG

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In CL programs, end-of-file is detected by monitoring for message ID CPF0864 using the MONMSG command. This message is sent when a read operation reaches the end of a file. ENDPGM ends a program, STRPGM has no meaning, and STRDBG starts debugging.