Joined: 14 Jan 2008 Posts: 2504 Location: Atlanta, Georgia, USA
What are your thoughts on converting to COBOL85? I was doing some experimenting and created a COBOL85 program double the size of my problem program by duplicating code and compiled it with no issues. Any thoughts as to why that would be. Does the newer compiler use less memory? The load module is siginificantly smaller as well.
COBOL 85 is actually COBOL II (not sure what it's known by in VSE). However, converting from ANSI 68/74 Batch to 85 isn't too bad (CICS is more involved).
You need to replace EXAMINE, TRANSFORM with INSPECT. If you're using the CURRENT-DATE and TIME-OF-DAY Special Registers, they can be substituted with their equivalent ACCEPT Verbs or by Calling LE Callable routines (providing LE is installed when you upgrade), for example "CEELOCT" will return a Date/Time in a format of CCYYMMDDHHMMSSMMM (MMM is milliseconds).
As soon as you compile the program with the newer compiler, errors should jump out like a cockroach with a hot foot.