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 use qload in linux

Post new topic  Reply to topic
 how to use qload in linux « View previous topic :: View next topic » 
Author Message
praveMQ
PostPosted: Wed Jan 25, 2017 8:23 am    Post subject: how to use qload in linux Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

please any body explain how to use qload in linux
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jan 25, 2017 8:29 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Same as any other platform? See the documentation.

Type in "qload ?" to get a list of options.

What are you trying to do?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
praveMQ
PostPosted: Wed Jan 25, 2017 9:17 am    Post subject: Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

I am trying to load messages from queue to file
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 25, 2017 9:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

praveMQ wrote:
I am trying to load messages from queue to file


Congratulations.

I echo the comments of my worthy associate. You do this the same as you do on any other OS, the executable has a help facility and there's excellent documentation for it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
praveMQ
PostPosted: Wed Jan 25, 2017 8:02 pm    Post subject: Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

I download mo03 supportpac and try to unzip mo03 at /opt/mqm/samp/bin but i got permission not denied if you know the process please let me know
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 25, 2017 9:07 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

praveMQ wrote:
I download mo03 supportpac and try to unzip mo03 at /opt/mqm/samp/bin but i got permission not denied if you know the process please let me know

Obviously you'll need write permission for /opt/mqm/samp/bin, so maybe you'll want to ask your sysadmin to unzip it and make sure the permission on the files allow you to read them and execute them...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
praveMQ
PostPosted: Wed Jan 25, 2017 10:53 pm    Post subject: Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

I tried it is in my own laptop....i gave chmod 755 file permissions but it doesn't work
please if you know how to do qload in linux let me know...
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jan 25, 2017 11:53 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Start by placing the files in your home directory - you can sort out the proper location later.

Note that qload can connect to a QM as a MQ client or using a bindings connection to a local QM.

The command will be something like

qload -m <QMGR> -i <QUEUE NAME> -f <FILE NAME>

There are subtle options for browsing a queue or reading it destructively and writing a file or overwriting if it exists etc.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
praveMQ
PostPosted: Thu Jan 26, 2017 12:20 am    Post subject: Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

home directory means opt/mqm or /var/mqm
which one bcos i am new this technology...please tell me
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jan 26, 2017 12:33 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Depends what id you are using.

I would use /var/mqm for the moment as you will have update access to it.

I assume you are using the mqm id?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
praveMQ
PostPosted: Thu Jan 26, 2017 12:48 am    Post subject: Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

ok.....here /opt/mqm is my installation path and /var/mqm is my working path so which one is home directory for me
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jan 26, 2017 1:27 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

I am not here to give basic Unix lessons.

I already suggested to use /var/mqm
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
praveMQ
PostPosted: Thu Jan 26, 2017 1:40 am    Post subject: Reply with quote

Novice

Joined: 09 Oct 2016
Posts: 11

ok....thank you
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 use qload in linux
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.