ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to display trace files from iseries

Post new topic  Reply to topic
 How to display trace files from iseries « View previous topic :: View next topic » 
Author Message
tekgirl
PostPosted: Thu Sep 02, 2004 8:17 am    Post subject: How to display trace files from iseries Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Thu Sep 02, 2004 8:46 am    Post subject: Reply with quote

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
View user's profile Send private message
ulli
PostPosted: Fri Sep 03, 2004 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to display trace files from iseries
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.