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
 

 

Exposing a CICS "COBOL DB2 Code" as a webservice

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
VIKRAM KUMAR MISHRA

New User


Joined: 24 Dec 2012
Posts: 3
Location: India

PostPosted: Thu Dec 27, 2012 10:09 pm    Post subject: Exposing a CICS "COBOL DB2 Code" as a webservice
Reply with quote

As part of a POC we have exposed a CICS "Cobol DB2 code" as a webservice. The code is getting invoked on request through the transaction CPIH. The code is calling another module where it fails on first DB2 hit with -922.

To resolve the same I have provided the approach to create the WSDL file and WSBIND file with new transaction name that will be defined in CICS with new RCT entry and PCT same as that of CPIH.

This I have done seeing that after -922 we may again hit -805 problem. Thinking this we have gone ahead with user defined transaction then both problem may be resolved. We are yet to test the approach.

Can anyone say that we are on right track or there is another way round with CIPH transaction itself.
Back to top
View user's profile Send private message

Pandora-Box

Moderator


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

PostPosted: Fri Dec 28, 2012 10:28 am    Post subject:
Reply with quote

What do you mean by exposing cics cobol DB2.code as webservice?
Back to top
View user's profile Send private message
VIKRAM KUMAR MISHRA

New User


Joined: 24 Dec 2012
Posts: 3
Location: India

PostPosted: Sat Dec 29, 2012 3:05 pm    Post subject: Reply to: Exposing a CICS "COBOL DB2 Code" as a we
Reply with quote

We created the wsdl and wsbind file for the COMMAREA of the code and used the wsdl in a Java code. The Java code calls the the CICS code through SOAP using the wsdl. The input to the COMMAREA is built by java before invoking the cics code.

Using the new transaction instead of CIPH transaction, for which i created the PCT and RCT entry and provided public access to the plan, has worked for me and no more -922 problem is coming. But sill I would like to know if it was possible through CPIH transaction itself and I may have missed on some settings.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm


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