This specifies file path name to output the messages.
By default, if the BSORT_MSGFILE of startup file is specified, it is output to the file. If BSORT_MSGFILE is not specified, standard error output is used.
Format
-G msgfile
msgfile
This specifies file path name to output the messages.
To specify a file name that contains a space, enclose the whole name with double quotation marks (").
Note
Message file option (-G) takes priority over BSORT_MSGFILE of startup file.
When the message file is specified, the information message is output to the message file. The warning message and the error message are output to the message file and the standard error output.