View previous topic :: View next topic
|
Author |
Message |
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
Hi,
I need to pass the Q-name to MQSeries program dynamically.
Will it work if I pass it through JCL. |
|
Back to top |
|
|
Surana
New User
Joined: 28 Jan 2009 Posts: 1 Location: Pune
|
|
|
|
You could have tried it before posting.
Anyway, You can pass the Qname dynamically using PARM parameters in JCL. It works. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Usually a good idea to also pass the QMGR name to the pgm also so the pgm is more flexible for testing, etc. |
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
Elixir wrote: |
Hi,
I need to pass the Q-name to MQSeries program dynamically.
Will it work if I pass it through JCL. |
I did try it and it worked fine.
Put additional file containing the Q-NAME.
Read the file and took the queue name from it.
Connection was establised and worked fine.
Thanks!!!! |
|
Back to top |
|
|
|