Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

8.1 Messages

Messages include the information messages, warning messages, and error messages.
The language of the message changes into Japanese and English according to a regional setting of the system.

Output destination of the message

The output destination of the messages is specified by environment variable BSORT_MSGOUT.
When the messages are output to the file, it is specified by one of the following:

When the message file is specified, the information messages are output to the message file. The warning messages and the error messages are output to the message file and the standard output or the standard error output.
Moreover, when E, W, I or YES is specified for environment variable BSORT_EVENTLOG, the message corresponding to a specified value is output to the application log.

Note

When the BSORT function is used, it is necessary to specify BSMSG_STDERR for optionfunc of the BSRTPRIM structure specified by the bsrtopen function to output the message to the standard error output.

Output form of the message

The output form of the message is specified by environment variable BSORT_MSGSTYLE.
When 1 is specified for environment variable BSORT_MSGSTYLE, the message is output in the form of the following.

Text
  Text:   Message text is output.

When environment variable BSORT_MSGSTYLE specification is omitted or 2 is specified, the message is output in the form of the following.

Header: Type: Date: Number Text
  Header: Header is output. ("PSORT")
  Type:   Message type is output. ("INFO", "WARNING", or "ERROR")
  Date:   Date and time are output. ("YYYY-MM-DD HH:MM:SS")
  Number: Message number is output. (Four digits)
  Text:   Message text is output.