Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Passing Queue name in to MQSeries Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: Passing Queue name in to MQSeries Program
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    Post subject:
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    Post subject:
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    Post subject: Re: Passing Queue name in to MQSeries Program
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us