Message format

OCL messages have the format: EQQCLxxCtext where:
EQQCL
The message prefix.
xx
The message identifier, which is an alphanumeric value in the range 0–9, A–Z: 00,01,02–09, 0A, 0B–0Y, 10, 11–19, 1A…
C
The message severity code, which can have one of the following values:
I
Information message. Processing continues and, in almost all cases, no action is required of the user.
W
Warning message. Processing continues and, in most cases, no action in required of the user.
E
Error message. Processing terminates; action is required of the user.
text
The message text, which can vary in length. The text can contain message variables that are substituted at run time or when the message is issued. In this book, message variables are shown in italic text.
The OCL messages are written to the OCL output data set, SYSTSPRT, and in the OCL message log data set, if it is allocated in the OCL procedure. The message log data set name is specified in the OCLLOG DD card. The format of an OCL message printed in the message log data set is:
mm/dd HH.MM.SS message
where:
mm/dd
The current month (mm) and day (dd).
HH.MM.SS
The current time of day:
HH
The number of hours, starting from midnight. It is a number in the range 00–23.
MM
The number of minutes in the current hour. It is a number in the range 00–59.
SS
The number of seconds in the current minute. It is a number in the range 00–59.
message
The message identifier and text (see the description of OCL messages earlier in this section).
Here is an example of messages in the OCL message log data set:
07/30 13:41:33 EQQCL00I Instruction : INIT VARTAB(&OADID)
07/30 13:41:34 EQQCL02I INIT    instruction executed : RC=0
07/30 13:41:34 EQQCL00I Instruction : SETUPD VAR1 = 'PIPPO'
07/30 13:41:34 EQQCL02I SETUPD  instruction executed : RC=0
07/30 13:41:34 EQQCL00I Instruction : COMPL APPL(TEST01)
07/30 13:41:35 EQQCL02E COMPL   instruction executed : RC=8
07/30 13:41:35 EQQCL00I Instruction : CHKAPPL APPL(TEST02)
07/30 13:41:35 EQQCL02W CHKAPPL instruction executed : RC=4
07/30 13:41:35 EQQCL00I Instruction : IF RESULT = 8 THEN NOP
Here is an example of the messages written in the SYSTSPRT DD card:
EQQCL01I ==================================================================
EQQCL00I Processing: CHKAPPL APPL(TEST01) STATUS(S)
EQQCL0JI Searching for the occurrence TEST01 in CP
EQQCL0OI Occurrence found: APPL(TEST01) IA(9709080800) STATUS(S)
EQQCL0OI Occurrence found: APPL(TEST01) IA(9709080930) STATUS(S)
EQQCL0KI Total n. of matching occurrences: 2
EQQCL01I ==================================================================
EQQCL00I Processing: IF RESULT=0 THEN ADD APPL(TEST02)
EQQCL03I True condition: IF RESULT = 0
EQQCL01I ==================================================================
EQQCL00I Processing: ADD APPL(TEST02)
EQQCL0AI The occurrence was successfully added: APPL(TEST02) IA(9709091657)

For explanations of all OCL messages, refer to EQQCLnnn Messages in Messages and Codes.