What are the types of Monmsg command?

What are the types of Monmsg command?

The Monitor Message (MONMSG) command is used to monitor escape, notify, and status messages sent to the program message queue of the program in which the command is used. Other message types (completion, diagnostic, etc.)

What is CPF0000?

ppp0000. Monitors for every message with a generic message identifier that begins with a specific licensed program ( ppp ). For example, CPF0000 indicates that all notify, status, and escape messages beginning with CPF are monitored.

What is CPF9999 in as400?

CPF9999 is a specific error message. It just happens to be the message that describes what happens when you don’t trap the error with a MONMSG(CPF0000). So, you’re capturing the error that says you’re program has failed, instead of capturing the error that caused the failure.

How do I view end of file in CL?

The CL program or ILE CL procedure receives a record sequentially from the database file named INPUT. The procedure monitors for the end-of-file exception CPF0864 and goes to label EOF when the message is received.

What is data area in as400?

ü A data area is an object used to store the shared data of different jobs running on the system. ü It is permanent storage.

What is the difference between CPF0000 and CPF9999?

MONMSG MSGID (CPF0000 MCH0000) EXEC (GOTO ERROR) That unhandled message is converted into CPF9999 by our system automatically. Hence, all the unhandled messages are converted to CPF9999, which actually is being handled by our generic MOMSG command.

What is Infds in Rpgle?

A file information data structure (INFDS) can be defined for each file to make file exception/error and file feedback information available to the program or procedure. The file information data structure, which must be unique for each file, must be defined in the same scope as the file.

What is Infsr?

A file exception/error subroutine (INFSR) receives control when an exception/error occurs on an implicit (primary or secondary) file operation or on an explicit file operation that does not have an indicator specified in positions 73 and 74,does not have an (E) extender, and is not in the monitor block of a MONITOR …

What is a data area?

(1) The parts of a program that reserve space for user data. When the program is running, those reserved data areas wind up being allocated in memory until the program is exited. See program. (2) The part of a network packet that holds the user messages.