Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1542
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us