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 message is output to the standard error output.
When the messages are output to the file, it is specified by one of the following:
BSORT_MSGFILE of startup file
msgfile operand of -option option in bsortex command
-G option in bsort command
msgfile_addr of BSRTFILE structure in BSORT function
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 error output.
Moreover, when E, W or I is specified for BSORT_SYSLOG of startup file, the message corresponding to a specified value is output to the syslog.
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 BSORT_MSGSTYLE of startup file.
When 1 is specified for BSORT_MSGSTYLE of startup file, the message is output in the form of the following.
Header: Text
Header: Header is output. ("bsort") Text: Message text is output.
When BSORT_MSGSTYLE of startup file 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.