[Info-vax] First ship poll: When will the first native x86-64 compilers ship ?

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Mon Apr 18 04:23:01 EDT 2022


Den 2022-04-17 kl. 19:00, skrev Arne Vajhøj:
> On 4/17/2022 4:45 AM, Jan-Erik Söderholm wrote:
>> Den 2022-04-17 kl. 02:26, skrev Arne Vajhøj:
>>> On 4/16/2022 6:54 PM, Bill Gunshannon wrote:
>>>> On 4/16/22 18:09, Arne Vajhøj wrote:
>>>>> On 4/16/2022 7:28 AM, Bill Gunshannon wrote:
>>>>>> Like maybe, IBM zSystem running COBOL with CICS and a DB2 backend.
>>>>>
>>>>> I don't see that combo as special.
>>>>>
>>>>> CGI scripts in Cobol or PL/I would require the developers
>>>>> to write maybe 10 times as much code and the result would
>>>>> perform really bad.
>>>>>
>>>>> Java or Python frontend calling C wrapper calling Cobol
>>>>> or PL/I code may be doable, but comes with a lot of risks
>>>>> due to potentially incompatible threading/transactional/whatever
>>>>> models.
>>>>
>>>> Why would you need all of that?  COBOL does CICS and CICS does
>>>> the web.  No extra code required.
>>>
>>> That sounds pretty easy.
>>>
>>> But if we assume RESTful web services which are by far the
>>> most common today.
>>>
>>> 1) How does CICS know the right URL to assign to a resource?
>>> 2) How does CICS know whether to use path or query URL?
>>> 3) How does CICS know whether to do XML or JSON or both?
>>> 4) How does CICS know whether to do CORS?
>>>
>>
>> You use CWS. Google "cics web service". CWS gives access
>> to the usual tools used in web services programming.
>>
>> I did CICS/Cobol/DB2 development including CWS approx.
>> 20 years ago. At that time to build common web pages but
>> it seems to have evolved to include other functionallity.
> 
> I get that there is a web server.
> 
> I get that there are some Cobol code doing something.
> 
> What I don't get is how the web server end up exposing the
> right API.
> 
> I know how ones does it in Java and C# - using annotations/attributes
> in the application code to define it.

A lot of that is done outside of the application code. It is
configurations in the web parts in CWS. I'm not really sure there,
someone else did the web related parts and we (the Cobol guys) was
given some functions to call for the web releated parts. Or descriptions
on how our code was going to be called by the CWS for the "web services".


> 
> I have seen examples of how it is done in PHP and Python - setting up
> callbacks.
> 
> I cannot see how that CICS web server can figure that out with
> no code changes.
> 

No code changes in what code? There was no code to change. This
was new web-enabled code. What do you mean with a "code change"?

> I am not a great believer in mind reading software.
>

And I have no idea what you are talkning about... :-)

> Arne
> 
> 

Well, the Cobol code calls the APis that CWS provides, of course.





More information about the Info-vax mailing list