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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top