Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Message output forms

&pagelevel(4)&pagelevel

The following output forms can be selected for messages:

  • Normal form
    comprises the message code, message text, if appropriate with current inserts

  • Short form
    comprises the message code and, if appropriate, the current inserts, but no additional message text

  • Long form
    comprises the normal form plus an explanatory text (meaning and response text)

The user can change the message output form with the aid of the INFORMATION-LEVEL operand in the MODIFY-JOB-OPTIONS command.
Declarations that have been made with SET-LOGON-PARAMETERS or ENTER-JOB and affect the logging of a job are redefined.

INFORMATION-LEVEL=*MEDIUM causes messages to be output in unabbreviated form (normal form).

INFORMATION-LEVEL=*MINIMUM causes messages to be output in coded form (short form).

Example

In order to demonstrate the different output forms of system messages, an attempt is made in the JOB.TEST job to output the attributes of the non-cataloged file ABCD. The system messages are logged in normal form and short form in the SYSOUT.JOB.TEST file.
The job is started with the /ENTER-JOB FROM-FILE=JOB.TEST command.

Job JOB.TEST

/SET-LOGON-PARAMETERS
/ASSIGN-SYSOUT TO=SYSOUT.JOB.TEST
/SHOW-FILE-ATTRIBUTES FILE-NAME=ABCD
/SET-JOB-STEP
/MODIFY-JOB-OPTIONS INFORMATION-LEVEL=*MINIMUM
/SHOW-FILE-ATTRIBUTES FILE-NAME=ABCD
/EXIT-JOB


SYSOUT log SYSOUT.JOB.TEST

/SHOW-FILE-ATTRIBUTES FILE-NAME=ABCD

%  DMS0533 REQUESTED FILE NOT CATALOGED IN PUBSET '2OSG'. COMMAND TERMINATED 
%  CMD0205 ERROR IN PRECEDING COMMAND OR PROGRAM AND PROCEDURE STEP 
TERMINATION                                                               1.

/SET-JOB-STEP

/MODIFY-JOB-OPTIONS INFORMATION-LEVEL=*MINIMUM                            2.

/SHOW-FILE-ATTRIBUTES FILE-NAME=ABCD

%  DMS0533 2OSG 
%  CMD0205                                                                3.

/EXIT-JOB
%  EXC0419 /LOGOFF AT <time> ON <date> FOR TSN '2EZD' 
%  EXC0421 CPU TIME USED: 0.5752 
  1. Output of system messages in normal form, because INFORMATION-LEVEL=*MEDIUM is the default setting.

  2. Output form is set to INFORMATION-LEVEL=MINIMUM.

  3. Output of system messages in coded short form.