logoalt Hacker News

Suractoday at 6:25 AM2 repliesview on HN

How does ai implement all the not Cobol parts a Cobol program rely on? Job Contol, CICS, sort processors? Cobol and mainframe technologies are non existant in java on any modern machine


Replies

p_ltoday at 7:01 AM

Batch job control is handled by alternative systems (already often triggering the work on mainframes anyway) like Control-M

CICS is the big issue but AFAIK there were attempts. Everything else, including sort and VSAM, has various options provided usually by COBOL compiler vendors.

TimBytetoday at 7:53 AM

For the article they just mocked it out for unit tests. But in reality you really can't - that’s a massive pain in the ass. Rewriting pure math is easy, but mocking CICS transaction isolation in java means spinning up these monstrous adapter frameworks that just tank performance