Control Statement Parameters for the PWXUMSGS Utility
Control Statement Parameters for the PWXUMSGS Utility
The PWXUMSGS utility uses the following parameters as shown in the syntax:
REPORTTYPE={FILEINFO|FILEINFO_MSGS|MSGS_ONLY}
The type of report you want to generate. Valid options are:
FILEINFO
Retrieve the following information:
File name
Timestamp of the first write operation to the file
Number of records
FILEINFO_MSGS
Retrieve messages that include the following information from alternate log files:
Date
Time
Process ID
Message text
The start date and time for message filtering is obtained from STARTDATE and STARTTIME,
if specified. Otherwise, The start date and time is obtained
from the restart.txt file in the current directory, if it is
present.
MSGS_ONLY
Retrieve messages only.
SOURCE={SINGLE|LISTENER|OTHER}
The source of the messages. Valid options are:
SINGLE
detail.log file
LISTENER
PowerExchange Listener
OTHER
Retrieve messages without running in the address space of the process that writes the messages.
This option can be useful when you want to retrieve messages from a long-running
PowerExchange Logger for Linux, UNIX, and Windows process, or if
you want to access another user's PowerExchange Listener.
OUTDIR=
output_directory
The directory to contain the output report.
LOCATION=
node
[UID=
user
EPWD=
password
]
The location of the messages. Valid options are:
node
The node specified by the NODE statement in your DBMOVER configuration file for the remote machine where the PowerExchange Listener runs.
UID=
user
The user ID for the PowerExchange Listener on the remote machine.
EPWD=
password
An encrypted password for the user ID specified by UID. PowerExchange uses this encrypted password to connect to the PowerExchange Listener on the remote machine.
Translate messages from the specified language to the localized language for the Windows
machine where the PWXUMSGS utility runs. For example, if you browse an
alternate log file and see the z/OS messages are in English but want to view
the messages in Japanese, which is your localized language, specify
TRANS_FROM_LANG=ENGLISH.
Valid options are:
BRAZILIAN
Translate the messages from Brazilian.
ENGLISH
Translate the messages from English.
JAPANESE
Translate the messages from Japanese.
KOREAN
Translate the messages from Korean.
CHINESE
Translate the messages from Chinese.
*
Allow PWXUMSGS to determine the language from which to translate the messages.
You can also translate alternate log file messages localized from a language, such as
Japanese, into English. The requirements are:
The PWXUMSGS utility must run on a Windows machine that is localized for English, which is the default configuration.
You must set the TRANS_FROM_LANG parameter to match
the language used in alternate log file messages, for example, Japanese.
You must set the TRANS_FROM_DTLMSG_CODEPAGE
parameter to the option for the DTLMSG.TXT file, for example, shiftJIS.
Specify this parameter when translating Linux, UNIX, and Windows messages to English from a
localized language only. Use this parameter in the following ways:
To locate the DTLMSG.TXT file
that was used when the messages were written. This file corresponds to
the DTLMSG_LANGUAGE statement that the PowerExchange Listener uses.
To specify the code page in
which the DTLMSG text is encoded. PWXUMSGS uses UTF-8, but translates
external shiftJIS text, as needed.
The following DTLMSG files are supported:
UTF8_PORTUGUESE-BZ
dtlmsg_UTF8_PORTUGUESE-BZ.txt
shiftJIS
dtlmsg_shiftJIS.txt
KO_UTF8
dtlmsg_KO_UTF8.txt
SC_UTF8
dtlmsg_SC_UTF8.txt
The utility does not support the dtlmsg_GB2312.txt and dtlmsg_MS949.txt
files.
SINGLEFILENAME=
file
Specify the name of the single detail.log file to process.
OTHERFILEPREFIX=
text
Specify the file prefix to use for selecting the alternate log files to read. Both
OTHERFILEPREFIX and OTHERNBRFILES are used to locate the alternate log files to
be read.
OTHERNBRFILES={0-20}
Specify the number of alternate log files to read. Both OTHERFILEPREFIX and OTHERNBRFILES
are used to locate the alternate log files to be read.
When you specify OTHERFILEPREFIX and
OTHERNBRFILES, the utility does not access the file names from PowerExchange Listener
shared memory. In this mode, it is possible to access alternate log files that have been
written by non-Listener jobs that are long running, such as Condense jobs on IBM i or
z/OS or PowerExchange Logger for LUW jobs on Linux, UNIX, or Windows. Running the
utility in this mode is not recommended because the process that writes the alternate
log files might have trouble opening a fresh log file while the utility is reading the
log. Also, determinining the values for OTHERFILEPREFIX and OTHERNBRFILES can be
challenging.