[Info-vax] VMS Cobol - GnuCOBOL

Scott Dorsey kludge at panix.com
Wed Feb 22 07:52:17 EST 2023


Paul Gavin  <paulgavinco at gmail.com> wrote:
>Having attempted to move sample code from two flavors of COBOL code (OpenVM=
>S terminal and HP-UX ANSI format) to GnuCOBOL, I had to modify every commen=
>t and most continuation lines to get them to compile. Shell script was fair=
>ly simple to write to fix these issues, but still changed the code. None of=
> the VMS code used by descriptor calls in the main code, but calls to syste=
>m services on both side were a pain. Both had database precompiler needs (C=
>ODASYL and Informix) and those certainly would not work at all.=20

The comment and continuation issues are addressed with compiler flags.
Not that updating the code that way might not be a good idea anyway.
--scott


-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."



More information about the Info-vax mailing list