|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to display trace files from iseries |
« View previous topic :: View next topic » |
Author |
Message
|
tekgirl |
Posted: Thu Sep 02, 2004 8:17 am Post subject: How to display trace files from iseries |
|
|
Newbie
Joined: 02 Sep 2004 Posts: 8 Location: Madison, Wisconsin
|
The iSeries Sys Admin Guide states:
"Formatting trace output
To format any trace output:
Enter the QShell
Enter the command
dspmqtrc [-t Format] [-h] [-s] [-o OutputFileName] InputFileName
where:
InputFileName
Is a required parameter specifying the name of the file containing the unformatted trace. For example /QIBM/UserData/mqm/trace/AMQ12345.TRC.
-t FormatTemplate
Specifies the name of the template file containing details of how to display the trace. The default value is /QIBM/ProdData/mqm/lib/amqtrc.fmt.
-h
Omit header information from the report.
-s
Extract trace header and put to stdout.
-o output_filename
The name of the file into which to write formatted data.
You can also specify dspmqtrc * to format all trace. "
__________________________________________________
But the generic Sys Admin Guide conflictingly states:
"The dspmqtrc command is supported on Solaris, HP-UX, and Linux only."
___________________________________________________
And when I tried this command on my AS/400, it was not recognized.
So my question is, does anyone know how I can format and view the trace files from as/400?
Thanks!
Salle |
|
Back to top |
|
 |
JasonE |
Posted: Thu Sep 02, 2004 8:46 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Unreliable information, but this used to work:
Quote: |
Type
QSH(Press Enter)
Change the directory to the IFS directory containing your files Type:
cd '/qibm/userdata/mqm/trace/Pmrxxxxx'(Press Enter)
Type in the following script, line by line, case sensitively:
for i in AMQ*.TRC (Press Enter)
do (Press enter)
'/qsys.lib/qmqm.lib/dspmqtrc.pgm' -4 -o £i.fmt £i (Press Enter)
done (Press Enter)
Wait...... until you see the directory structure returned eg, a display like:
>
/qibm/userdata/mqm etc
You should now have formatted trace for ALL your AMQ*.TRC files called OUT.AMQnnn.TRC, so now press F3 to exit QSHELL |
|
|
Back to top |
|
 |
ulli |
Posted: Fri Sep 03, 2004 2:37 am Post subject: |
|
|
Novice
Joined: 16 Aug 2004 Posts: 20
|
Hi,
call the prog in QSH in the following way:
/qsys.lib/qmqm.lib/dspmqtrc.pgm
followed by the required paramters and it should be available
Regards, Ulli |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|