ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQ return code 2058

Post new topic  Reply to topic Goto page 1, 2  Next
 MQ return code 2058 « View previous topic :: View next topic » 
Author Message
rajesh_manas
PostPosted: Wed Jun 07, 2006 6:52 am    Post subject: MQ return code 2058 Reply with quote

Novice

Joined: 25 Apr 2006
Posts: 15

Hi All,

When i am trying to issue MQCONN call i am getting an return code 2058.
This is occuring for IMS program.

But the same QUEUE manager and QUEUE name were used for Batch programs and it worked.


Could you please kindly let me know the reason why it is occuring for IMS program only.

Thanks in advance

Regards,
Rajesh
Back to top
View user's profile Send private message
Hassan
PostPosted: Wed Jun 07, 2006 6:55 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

Confirm the case for the qm and q name. make sure the name is not getting converted to upper case.
Back to top
View user's profile Send private message
rajesh_manas
PostPosted: Wed Jun 07, 2006 6:58 am    Post subject: Reply with quote

Novice

Joined: 25 Apr 2006
Posts: 15

Hassan wrote:
Confirm the case for the qm and q name. make sure the name is not getting converted to upper case.


Hi ,

Thanks for the reply, The same case i am using for the batch as well as IMS.So i think this case will not be a problem.

Please get back to me

Regards,
Rajesh
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Jun 07, 2006 7:06 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi contact admin,

2058 = MQRC_Q_MGR_NAME_ERROR

I think you must have made a spelling mistake or as Hassan said not looked at the upper case....

Quote:
So i think this case will not be a problem.

Lets not think or leave it to chance, lets make sure

Regards.
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Wed Jun 07, 2006 7:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I've little experience with IMS, but it looks like each qmgr must be defined to the IMS region:

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsav.doc/csq83hy.htm

Can you confirm this has been done in your system?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
rajesh_manas
PostPosted: Wed Jun 07, 2006 9:04 am    Post subject: Reply with quote

Novice

Joined: 25 Apr 2006
Posts: 15

elvis_gn wrote:
Hi contact admin,

2058 = MQRC_Q_MGR_NAME_ERROR

I think you must have made a spelling mistake or as Hassan said not looked at the upper case....

Quote:
So i think this case will not be a problem.

Lets not think or leave it to chance, lets make sure

Regards.



Hi ,

I checked the names of the Queue manager and Queue name, they were same for Batch as well as IMS.

For your reference i am pasting the details

FOR IMS:

In the Run JCL:

//QMGR DD *
MD2A
/*
//QNAME DD *
FINA.DE.SQ11ZAS
/*

The error code in the sysprint for IMS:

***MQ CONNECTION ERROR***
***QUEUE MANAGER NAME:MD2A ***
***QUEUE NAME:FINA.DE.SQ11ZAS ***
***MQ COMPCODE 2 ***
***MQ REASON 2058 ***



FOR BATCH:

In the RUN jcl:

//QMGR DD *
MD2A <= QUEUE MANAGER
/*
//QNAME DD *
FINA.DE.SQ11ZAS <= QUEUE NAME

/*

In the sysprint for Batch:

*-----------------------------------------*/
/* */
/* START OF PROGRAM MQLOAD */
/* */
/*-----------------------------------------*/
NAME OF THE QUEUE MANAGER: MD2A
NAME OF THE QUEUE : FINA.DE.SQ11ZAS
MQCONN CALL SUCCESSFUL
MQOPEN CALL SUCCESSFUL
THE DATA IS 4509470000084163000000000000B051123ZIEMES,G ZIEME0
THE COMP CODE FOR MQPUT IS 0
THE REASON CODE FOR MQPUT IS 0

I have one doubt , Is there any RACF permission has to be given for IMS library to access MQ.

Please kindly let me know the solution.

Thanks in advance

Regards.
Rajesh
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 07, 2006 9:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

contact admin wrote:
I have one doubt , Is there any RACF permission has to be given for IMS library to access MQ.


I think everything has to be explicitly allowed by RACF.

Work with your RACF administrator to verify that no security violations are being thrown.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jun 07, 2006 9:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Wouldn't we expect 2035's then?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
kevinf2349
PostPosted: Wed Jun 07, 2006 9:34 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

What are the results from a

Code:
/DISPLAY SUBSYS


command on the IMS system?
Back to top
View user's profile Send private message
rajesh_manas
PostPosted: Wed Jun 07, 2006 9:44 am    Post subject: Reply with quote

Novice

Joined: 25 Apr 2006
Posts: 15

kevinf2349 wrote:
What are the results from a

Code:
/DISPLAY SUBSYS


command on the IMS system?


Hi,

This command ( /dis subsys) is not working in the IMS

Regards,
Rajesh
Back to top
View user's profile Send private message
Hassan
PostPosted: Wed Jun 07, 2006 10:16 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

My suspicion is that if it is RACF related we should see 2059 or maybe 2035s but 2058 would point to something completely different.

I am not from the mainframe world so maybe a dumb question .... we don't need a listener for this do we? I'm thinking it is possible he is trying to connect to the listener of someother QM on the same box.

Also Rajesh when you say /DISPLAY SUBSYS is not working, do you get an error message or an informational message? anything at all?
Back to top
View user's profile Send private message
Hassan
PostPosted: Wed Jun 07, 2006 10:22 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

Rajesh what happens when you issue /START SUBSYS ?
Back to top
View user's profile Send private message
rajesh_manas
PostPosted: Wed Jun 07, 2006 10:28 am    Post subject: Reply with quote

Novice

Joined: 25 Apr 2006
Posts: 15

Hassan wrote:
Rajesh what happens when you issue /START SUBSYS ?


Hi ,

The same result.

Regards,
Rajesh
Back to top
View user's profile Send private message
Hassan
PostPosted: Wed Jun 07, 2006 10:37 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

What does "same result" mean?

error message ?, info message? any message at all?

I don't know much about IMS but know that you can connect to the QM using

/START SUBSYS subsystem_name

This Connects the IMS control region to a queue manager.

My suggestion would be to go to the MQ info centre and search on IMS and also RACF to get a better idea of what's going on.

Do post back the final result once the problem is resolved
Goog luck.
Back to top
View user's profile Send private message
LuisFer
PostPosted: Wed Jun 07, 2006 10:42 am    Post subject: Reply with quote

Partisan

Joined: 17 Aug 2002
Posts: 302

07.06.06 20:43:28 - /DIS SUBSYS

DFS147 20:43:28 REQUIRED KEYWORD PARAMETER NOT PRESENT
1.-The IMS command is /DIS SUBSYS <QMgrName> or /DIS SUBSYS ALL, in this case shows all Subsystem defined (connected or no) to the IMS controls Region (DB2, ORACLE, MQ,....) , too in the IMS.PROCLIB member associated to the MPP
2.- Look at STEPLIB of MPP (if is an IMS tx) the SCSQLOAD & SCSQAUTH concatened . The same is an BMP or a pure Batch
3.- Include your QMgrs on the CSQBDEFV module accesible to MPPs/BMPs/JMPs/JBps.

I hope that is help you.
Regards


Last edited by LuisFer on Wed Jun 07, 2006 10:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » MQ return code 2058
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.