[Info-vax] Free Pascal for VMS ?

Arne Vajhøj arne at vajhoej.dk
Sat May 12 21:00:12 EDT 2018


On 5/9/2018 2:59 AM, Jan-Erik Söderholm wrote:
> In a current project we have a need to interface to a new server that
> presents some REST APIs using JSON data in and out. Instead of trying
> to do this from our main Cobol code, we wrote this in Python scripts.
> Works very well and the development time is rather short and we got
> Python examples from the server maintainer.

> The "interface" between the main Cobol code (old applications that
> gets some updates) and Python is through tables and triggers in Rdb.
> The Cobol code inserts something in a table and a trigger submits a
> batch job where the Python processing (doing the REST calls and
> inserting the result into Rdb) is done.

Which is conceptually the same as what I would consider the
standard approach:

database trigger ---> message queue ---> message processor

> The alternative would had been to write REST/JSON calls from C using
> some library and link that to the Cobol appliations. We think that
> we got a way shorter develop time by using Python and easier to
> maintain and test.

I am sure it is.

Arne




More information about the Info-vax mailing list