Calling Web Services from Mainframe Bundles

We are currently looking at partial migration from the main frame.

Some functions written in Mainframe Cobol are called from Mainframe batch programs.

We would like to migrate these cobol programs from the mainframe.

If, for example, we moved the functionality in the cobol program to a Java or .Net web service. How to call this web service from a Mainframe batch program?

+3
source share
4 answers

First, I'm not sure if there is a way to call web services directly from Cobol, but we had a similar problem with calling web services from iSeries (AS400) using RPG and CL.

Socket java, , WebServiceBridge, - webservice Java. , .

Cobol -, . , , , , -.

+2

TCP/IP PL/1 , COBOL:

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.halz002/tcpipapis.htm

, , . , - ASCII UTF-8, COBOL, , EBCDIC, - .

, - , ... , . ", ".

+2

[ , "-" HTTP (S) SOAP]

API CICS TS 3.1 -. CICS , CICS. CICS commareas, 32K.

CICS - MQSeries ( WebSphereMQ). ( 32K ) , , CICS. CICS - .

, , . - , .

+1

I have done it. Using the c language program to make http calls and the cobol interface program with the cobol copy book, it looks like an application, like any other program call. All http headers are converted to ascii and vice versa using the c program, and the payload is converted from the host.

0
source

Source: https://habr.com/ru/post/1793005/


All Articles