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

Exposing a CICS "COBOL DB2 Code" as a webservice


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Fri Dec 28, 2012 10:28 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts run rexx code with jcl CLIST & REXX 15
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top