12.1.1 Message output format
JP1/Advanced Shell issues messages in the following format:
KNAXnnnn-t message-text
KNAX
Message prefix that identifies a message as having been issued by JP1/Advanced Shell.
nnnn
Message number.
t
Indicator of the type of message. The following table lists and explains the types.
Table 12‒1: Types of messages Type identifier
Type
Meaning
E
Error
A failure that disables a library, command, or server function has occurred.
Operation has been disabled because of an invalid definition or command argument.
W
Warning
Processing continues once this message has been output.
I
Information
Information for the user.
- Organization of this subsection
(1) Format of messages output to job execution logs
When messages are output to job execution logs, the time and job ID are added to the messages as follows:
time job-ID KNAXnnnn-t message-text
time
Time the message was output, in the format hh:mm:ss.
job-ID
Six-digit identifier of the job that issued the message. If the job ID consists of fewer than six digits, it is padded with leading zeros to make it six digits in length.
(2) Format of messages output in a message dialog box or error window
Some messages are output in a message dialog box or an error window, as shown in the following example.
Message dialog box
Figure 12‒1: Message dialog box A message dialog box contains an icon that indicates the type of message. The following table explains the icons that are displayed in message dialog boxes.
Table 12‒2: Icons displayed in message dialog boxes Type
Icon
Meaning
User's action
Information
An event that needs to be reported to the user occurred during processing.
Click OK.
Query
An event requiring an action by the user has occurred. The message asks the user to select one of two choices.
Select Yes or No.
Warning
A warning event that needs to be reported to the user occurred during processing. The message asks the use to select one of two choices.
Select OK or Cancel.
Error
An error occurred during processing.
Click OK.
-
Error window
Messages might be displayed in the error window shown in the following while you are using JP1/Advanced Shell Editor.
Figure 12‒2: Error window