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 » How to view the contents of ouput file....

Post new topic  Reply to topic
 How to view the contents of ouput file.... « View previous topic :: View next topic » 
Author Message
rockravi
PostPosted: Thu Jun 30, 2011 8:26 pm    Post subject: How to view the contents of ouput file.... Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Jun 30, 2011 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu Jun 30, 2011 9:30 pm    Post subject: Re: How to view the contents of ouput file.... Reply with quote

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
View user's profile Send private message Send e-mail
rockravi
PostPosted: Thu Jun 30, 2011 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
rockravi
PostPosted: Thu Jun 30, 2011 11:06 pm    Post subject: Re: How to view the contents of ouput file.... Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu Jun 30, 2011 11:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Thu Jun 30, 2011 11:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
rockravi
PostPosted: Sat Jul 02, 2011 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Sat Jul 02, 2011 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Sat Jul 02, 2011 6:56 am    Post subject: Reply with quote

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
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 » How to view the contents of ouput file....
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.