Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us