|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to run a batch job in mainframe to post messages to MQ |
« View previous topic :: View next topic » |
Author |
Message
|
ashwats |
Posted: Wed Sep 24, 2003 10:52 am Post subject: How to run a batch job in mainframe to post messages to MQ |
|
|
Newbie
Joined: 24 Sep 2003 Posts: 2
|
I am trying to run a COBOL program that posts messages to a queue.
The queue has been already setup and tested.
But when I am running the job I am getting SOC1. Is there any specific data sets to point to ? Any help is appreciated. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Sep 24, 2003 11:45 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
This probably isn't an MQ problem.
A S0C1 sounds like you are overwriting your code with something. Maybe data. Or taking a wild branch.
I'd follow you 'normal' debugging techniques to find out where the exception is happening.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
ashwats |
Posted: Thu Sep 25, 2003 5:30 am Post subject: The SOC1 is happening at MQOPEN |
|
|
Newbie
Joined: 24 Sep 2003 Posts: 2
|
The SOC1 is happening when making the call to MQOPEN
My doubt is, is it not able to find the MQOPEN program in the datasets I am giving.
I am pointing to the following datasets, (not sure if these names will be same in all installations)
SYS1.SCSQAUTH,DISP=SHR
SYS1.SCSQANLE,DISP=SHR
MQSERIES.SCSQLOAD,DISP=SHR
SYS1.SCEERUN,DISP=SHR
SYS1.SCSQLOAD,DISP=SHR
But if there is a specfic member name that should be pointed to let me know.
Thank you |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Sep 25, 2003 10:23 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Did you get a return code 0 from your link step? In my experience you will get an 0C1 if you include the wrong stubs for the MQ calls.
Your site system program should be able to help you out with which ones to use. If it is just batch I believe it is CSQQSTUB you need to include in your link step. Check the Application programmers Guide (or is it Reference) and it will tell you for sure. |
|
Back to top |
|
 |
GMcCarthy |
Posted: Thu Sep 25, 2003 11:25 am Post subject: |
|
|
 Centurion
Joined: 06 Nov 2001 Posts: 113 Location: Melville NY
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|