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

Not able to PuT message in Newly created MQ


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

New User


Joined: 13 May 2010
Posts: 16
Location: hyderabad

PostPosted: Fri Nov 28, 2014 5:33 pm
Reply with quote

Hi ,

i have 2 Queues
1. HIG.PL.QUEUE1 -OLD
2. HIG.PL.QUEUE2 - NEw
channel , hostname , Quemanager name for both queue are same.

we have configured a new MQ(HIG.PL.QUEUE2) to PUT a message from Mainframe .
however when i am trying to put the message in new MQ , its giving error 2085 and terminated

But when i gave another MQ name(HIG.PL.QUEUE1) which was already created under same channel and host with same Queue manager name
i was able to put the Message

Then i tried by passing the Queue manager name expilicitly by hardcoding in program for new queue and i was able to PUT the message successfully.

I am not sure why i am able to write the msg in Queue1 without giving any Que manger name but iam NOT able to write the msg in Queue2 without giving Que manger name.

Do we need to do some configuration at mainframe side also or any New MQ?



Thanks
Avinash
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1565
Location: Andromeda Galaxy

PostPosted: Fri Nov 28, 2014 8:55 pm
Reply with quote

Was the queue HIG.PL.QUEUE2 - Defined successfully?
Also you could check if you are able to see the queue under the DISPLAY option in MQ tool
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 Read 4MB message and split into multi... COBOL Programming 9
No new posts Force a Return Code and print error m... SYNCSORT 30
No new posts Naming a newly opened screen using REXX CLIST & REXX 2
No new posts Warning in dataset message TSO/ISPF 18
No new posts Trap a CP command message in Rexx zVM CLIST & REXX 1
Search our Forums:

Back to Top