Re:Why and how COBOL is still used
by ElectricalUnion on Monday November 15, 2021 @04:02PM
(#29232709)
> AFAIK, there is a little database embedded in COBOL, known as ISAM.
That is not a COBOL feature, it's a operating system level feature. IBM System/390 and newer store data in a indexed, record-based manner.
> I don't think there are any SQL-style grant/revoke directives within COBOL
I don't think there are any SQL-style grant/revoke directives within any language that is not SQL, Ada or Rust.
To be fair, code dealing with grant/revoke should be done in migrations, not in the application code. If application code can do SQL grant/revokes by itself you have bigger issues anyways.
I don't think there are any SQL-style grant/revoke directives within COBOL, and mainframe developers in decades past likely did not spend too much time worrying about system security when the best I/O was a dialup modem.
And now we attach this old code to the internet.
https://en.wikipedia.org/wiki/ISAM