Author |
Message
|
rockravi |
Posted: Thu Jun 30, 2011 8:26 pm Post subject: How to view the contents of ouput file.... |
|
|
Newbie
Joined: 30 Jun 2011 Posts: 7
|
I have used a control command
.runmqsc <e1.txt> report
it is executed successfully. but my problem is how to see the contents of report....? |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 30, 2011 9:01 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Notepad in Windows. cat in UNIX. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 30, 2011 9:30 pm Post subject: Re: How to view the contents of ouput file.... |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
rockravi wrote: |
I have used a control command
.runmqsc <e1.txt> report
it is executed successfully. but my problem is how to see the contents of report....? |
Actually this is not a 'problem' this is the 'question' where you need some information.
for unix based platforms.
$prompt> vi report
(vi editor has wide verity of commands to work on the text of the file)
$prompt> tail -1000 report
(if you want to see the content from tail of the file, similarly you have head command)
$prompt> more report | pg
(if you want to see the report page wise)
$prompt> cat report
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
rockravi |
Posted: Thu Jun 30, 2011 11:03 pm Post subject: |
|
|
Newbie
Joined: 30 Jun 2011 Posts: 7
|
bruce2359 wrote: |
Notepad in Windows. cat in UNIX. |
Actually i opened it in notepad.....but the contents r in binary format |
|
Back to top |
|
 |
rockravi |
Posted: Thu Jun 30, 2011 11:06 pm Post subject: Re: How to view the contents of ouput file.... |
|
|
Newbie
Joined: 30 Jun 2011 Posts: 7
|
In deleting queue commmand
Delete QL(Q1) purge
Wht is the speciality of purge?
shashivarungupta wrote: |
rockravi wrote: |
I have used a control command
.runmqsc <e1.txt> report
it is executed successfully. but my problem is how to see the contents of report....? |
Actually this is not a 'problem' this is the 'question' where you need some information.
for unix based platforms.
$prompt> vi report
(vi editor has wide verity of commands to work on the text of the file)
$prompt> tail -1000 report
(if you want to see the content from tail of the file, similarly you have head command)
$prompt> more report | pg
(if you want to see the report page wise)
$prompt> cat report
 |
|
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 30, 2011 11:25 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
rockravi wrote: |
Delete QL(Q1) purge
Wht is the speciality of purge? |
What do you understand by literal meaning of 'Purge' ?
Have you by the way tried to find out what does it do before putting the question here?
Have you googled it, if you do not have the mq admin guide?
Anyways...now most of it, I'm giving here., but would expect you in future to search the mq guides/read it/understand it/implement it and after that if you have any concern then do post here.
Code: |
DELETE QLOCAL is to delete a local queue.
*A queue cannot be deleted if it has uncommitted messages on it.
However, if the queue has one or more committed messages, and no uncommitted messages, it can be deleted only if you specify the *PURGE* option.
*Specifying NOPURGE instead of PURGE ensures that the queue is not deleted if it contains any committed messages.
|
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 30, 2011 11:29 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
rockravi wrote: |
bruce2359 wrote: |
Notepad in Windows. cat in UNIX. |
Actually i opened it in notepad.....but the contents r in binary format |
Please share the snap of it.
Please also share the snap of contents of 'e1.txt' file. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
rockravi |
Posted: Sat Jul 02, 2011 12:48 am Post subject: |
|
|
Newbie
Joined: 30 Jun 2011 Posts: 7
|
Actually i m new to MQ.....
I m trying to learn it by self study.....so i m getting lot of doubts
I need help from people like u who r experts in this s/w.....
i hope u will help me out......
shashivarungupta wrote: |
rockravi wrote: |
Delete QL(Q1) purge
Wht is the speciality of purge? |
What do you understand by literal meaning of 'Purge' ?
Have you by the way tried to find out what does it do before putting the question here?
Have you googled it, if you do not have the mq admin guide?
Anyways...now most of it, I'm giving here., but would expect you in future to search the mq guides/read it/understand it/implement it and after that if you have any concern then do post here.
Code: |
DELETE QLOCAL is to delete a local queue.
*A queue cannot be deleted if it has uncommitted messages on it.
However, if the queue has one or more committed messages, and no uncommitted messages, it can be deleted only if you specify the *PURGE* option.
*Specifying NOPURGE instead of PURGE ensures that the queue is not deleted if it contains any committed messages.
|
 |
|
|
Back to top |
|
 |
shashivarungupta |
Posted: Sat Jul 02, 2011 5:51 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
I understand but this is the forum to make you learn 'How to fish for the life rather just eat the fish for the day that's being provided by us'. Hope you understand what I mean to say !
This is not the site/forum to Teach you But its about to guide you to follow the correct way.
First read and then again read if you do not understand in the first attempt, then implement locally and after that if you have any issues..come here in the forum !
You can get the sessions/classes from IBM Or You can listen to the audio visual ppts that are on IBM sites about the technology (Like InfoCenter and IBM Education Assistant )
Forum is the *last* destination, If you are trying to learn the technology.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Vitor |
Posted: Sat Jul 02, 2011 6:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rockravi wrote: |
I m trying to learn it by self study..... |
Not easy but virtuous.
rockravi wrote: |
I need help from people like u who r experts in this s/w..... |
Yes, people like us will. They're called "trainers".
rockravi wrote: |
i hope u will help me out...... |
No, we won't.
We're not a training resource because we're not equippted to be. We're a self-group of WMQ professionals who help each other when the surprisingly complex Websphere software bites us. Obviously we try to answer questions from newcommers like yourself, but most of those answers are in the documentation.
Quote: |
Forum is the *last* destination, If you are trying to learn the technology |
It's true. Doesn't mean we're not here for you, just we're a long way back. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|