IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Passing Queue name in to MQSeries Program


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Fri Jul 09, 2010 8:17 pm
Reply with quote

Hi,

I need to pass the Q-name to MQSeries program dynamically.

Will it work if I pass it through JCL.
Back to top
View user's profile Send private message
Surana

New User


Joined: 28 Jan 2009
Posts: 1
Location: Pune

PostPosted: Mon Aug 09, 2010 1:10 pm
Reply with quote

You could have tried it before posting.

Anyway, You can pass the Qname dynamically using PARM parameters in JCL. It works.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Mon Aug 09, 2010 7:02 pm
Reply with quote

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
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Thu Aug 12, 2010 12:48 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts After newcopy the CICS program user f... CICS 7
No new posts Queue application affecting performance CICS 12
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Passing containers on START command CICS 4
Search our Forums:


Back to Top