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
 

 

SOC1 while receiving a message from MQ

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Nov 04, 2009 8:47 pm    Post subject: SOC1 while receiving a message from MQ
Reply with quote

I am triggering a MQ from an IMS online screen. This MQ triggers a batch job which runs a program which has a cobol batch program that recieves the message sent by the online screen and writes into a simple FB file.
My issue is, the Receiving program abends giving SOC1 while trying to to connect to MQ (while calling using 'MQCONN'). Please help me to resolve this. icon_confused.gif
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8119
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 04, 2009 8:48 pm    Post subject:
Reply with quote

The error is in line 379.
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Nov 04, 2009 8:50 pm    Post subject: Reply to: SOC1 while receiving a message from MQ
Reply with quote

Can you please elaborate on this?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8119
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 04, 2009 8:51 pm    Post subject:
Reply with quote

Based on what you've provided so far, what kind of answer do you expect? This is not psychic day so unless you provide code and precise error messages, all we can do is guess.
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Nov 04, 2009 9:01 pm    Post subject: Reply to: SOC1 while receiving a message from MQ
Reply with quote

I run the job which has my MQ mesage recieving program.

In the program,I move the queue name and try to connect to the MQ.
2000-PROCESS-MQ.
MOVE 'ABC.SCREEN.TO.XYZJOB.CONSIST' TO
Y4070-GET-OBJECTNAME
PERFORM Y4070-MQ-CONNECT


The MQ is tried to connect using the MQCONN call
Y4070-MQ-CONNECT.
CALL 'MQCONN' USING Y4070-MQM
Y4070-HCONN
Y4070-COMPCODE
Y4070-REASON
END-CALL

As soon as the call is completed (as checked from the debugger tool) the job comes out of this para and subsequently job abends with SOC1.

Do you thing the MQ setup is not correct??
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Nov 04, 2009 9:03 pm    Post subject: Reply to: SOC1 while receiving a message from MQ
Reply with quote

Y4070-REASON gives +0000000001
rest all are zeroes
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Nov 04, 2009 9:08 pm    Post subject:
Reply with quote

well
a SOC1 is a communication's error
a S0C1 is an operations' error.

having learned not to trust anything posted on this board by a TS,
i have no idea what you are encountering.

but, if I was you,
I would insure that all the necessary MQS loadlibs have been allocated by the COBOL step
and
I would insure that the proper MQS Stubs were allocated during the compile/link edit process.

do you have any batch, cobol, MQS programs running in your system?
if so, would use those as a basis of your comparision.
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Nov 04, 2009 9:08 pm    Post subject: Reply to: SOC1 while receiving a message from MQ
Reply with quote

just found out that error code is 4039
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Nov 04, 2009 9:15 pm    Post subject:
Reply with quote

if so, look at http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqsao.doc/fm18270_1.htm
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Nov 04, 2009 9:28 pm    Post subject: Reply to: SOC1 while receiving a message from MQ
Reply with quote

yes i checked it..
it states
"The channel was terminated because the user exit specified does not exist"
but i am not sure what 'user exit' means and where do we specify it.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Nov 04, 2009 9:40 pm    Post subject:
Reply with quote

Quote:
but i am not sure what 'user exit' means and where do we specify it.


well you have a choice here
if you have an existing MQS, batch, COBOL program that functions in your system, double check that the correct Stubs are accesssed and the proper MQS loadlibs are allocated. If that research proves fruitless then you are stuck learning about the quote above.

you may have multiple releases of MQS in your system. often using an earlier release load with a new release active MQS means changes.

this is the WebSphere MQ - Library were you can seach and learn - if that ends up being your only alternative.
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Thu Nov 05, 2009 3:48 pm    Post subject: Reply to: SOC1 while receiving a message from MQ
Reply with quote

I was using the CSQQCONN connector in my link edit include, which is for IMS . I used Batch connector 'CSQBSTUB' and it worked.
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 REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm
No new posts IEC999I MESSAGE ERROR Manshadi ABENDS & Debugging 3 Sun Apr 17, 2016 3:43 pm
No new posts CICS Service requester-receiving 'Hos... urampilla CICS 4 Sat Mar 05, 2016 1:25 am


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