Author |
Message
|
Boomn4x4 |
Posted: Fri Jun 15, 2012 5:54 am Post subject: Capturing output of MQ programs |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Jun 15, 2012 5:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Are you sure that strmqm writes to stdout? |
|
Back to top |
|
 |
zpat |
Posted: Fri Jun 15, 2012 5:56 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
Boomn4x4 |
Posted: Fri Jun 15, 2012 7:03 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Jun 15, 2012 7:14 am Post subject: |
|
|
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 |
|
 |
Boomn4x4 |
Posted: Fri Jun 15, 2012 7:15 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Jun 15, 2012 7:15 am Post subject: |
|
|
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 |
|
 |
Boomn4x4 |
Posted: Fri Jun 15, 2012 7:19 am Post subject: |
|
|
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 |
|
 |
|