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 Discussion » Capturing output of MQ programs

Post new topic  Reply to topic
 Capturing output of MQ programs « View previous topic :: View next topic » 
Author Message
Boomn4x4
PostPosted: Fri Jun 15, 2012 5:54 am    Post subject: Capturing output of MQ programs Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

How to I capture the output of an MQ program to a file?

strmqm >> file.txt doesn't capture anything
strmqm | tee file.txt doesn't capture anything
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 15, 2012 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Are you sure that strmqm writes to stdout?
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jun 15, 2012 5:56 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The script command?
Back to top
View user's profile Send private message
Boomn4x4
PostPosted: Fri Jun 15, 2012 7:03 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

mqjeff wrote:
Are you sure that strmqm writes to stdout?


I'm pretty sure that it doesn't.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 15, 2012 7:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Boomn4x4 wrote:
mqjeff wrote:
Are you sure that strmqm writes to stdout?


I'm pretty sure that it doesn't.


So where else could it be writing?
Back to top
View user's profile Send private message
Boomn4x4
PostPosted: Fri Jun 15, 2012 7:15 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

Boomn4x4 wrote:
mqjeff wrote:
Are you sure that strmqm writes to stdout?


I'm pretty sure that it doesn't.


In fact, I've just determined that it writes to stderr
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 15, 2012 7:15 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Boomn4x4 wrote:
Boomn4x4 wrote:
mqjeff wrote:
Are you sure that strmqm writes to stdout?


I'm pretty sure that it doesn't.


In fact, I've just determined that it writes to stderr


2> it is, then...
Back to top
View user's profile Send private message
Boomn4x4
PostPosted: Fri Jun 15, 2012 7:19 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

mqjeff wrote:
Boomn4x4 wrote:
Boomn4x4 wrote:
mqjeff wrote:
Are you sure that strmqm writes to stdout?


I'm pretty sure that it doesn't.


In fact, I've just determined that it writes to stderr


2> it is, then...


Don't worry.... there was a forehead smack involved with this thread.
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 Discussion » Capturing output of MQ programs
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.