Author |
Message
|
praveMQ |
Posted: Wed Jan 25, 2017 8:23 am Post subject: how to use qload in linux |
|
|
Novice
Joined: 09 Oct 2016 Posts: 11
|
please any body explain how to use qload in linux |
|
Back to top |
|
 |
zpat |
Posted: Wed Jan 25, 2017 8:29 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
praveMQ |
Posted: Wed Jan 25, 2017 9:17 am Post subject: |
|
|
Novice
Joined: 09 Oct 2016 Posts: 11
|
I am trying to load messages from queue to file |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 25, 2017 9:30 am Post subject: |
|
|
 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 |
|
 |
praveMQ |
Posted: Wed Jan 25, 2017 8:02 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Jan 25, 2017 9:07 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
praveMQ |
Posted: Wed Jan 25, 2017 10:53 pm Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Wed Jan 25, 2017 11:53 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
praveMQ |
Posted: Thu Jan 26, 2017 12:20 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Thu Jan 26, 2017 12:33 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
praveMQ |
Posted: Thu Jan 26, 2017 12:48 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Thu Jan 26, 2017 1:27 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
praveMQ |
Posted: Thu Jan 26, 2017 1:40 am Post subject: |
|
|
Novice
Joined: 09 Oct 2016 Posts: 11
|
|
Back to top |
|
 |
|