Start of change

Changes in compiling with Enterprise COBOL Version 6

z/OS MEMLIMIT changes

Start of changeIn Enterprise COBOL V6, the compiler starts using storage above the 2 GB BAR to compile programs, even those that are not large. This means that the z/OS® MEMLIMIT parameter would have to be set to a nonzero value. The z/OS default for MEMLIMIT is 2 GB, but if you compile a program and your z/OS setting for MEMLIMIT is not high enough, you could get this compiler message: IGYCB7145-U Insufficient memory in the compiler to continue compilation. If you encounter this error message, set REGION=0M and MEMLIMIT=3G on the job card and recompile your programs. If it is successful, consider changing the system MEMLIMIT default that was set in IEFUSI, SMFPRMxx, or SMFLIMxx to no less than 2 GB.
Note: The SMFLIMxx PARMLIB member is only available in z/OS V2.2 and later versions.
End of change

Listing changes

Starting in Enterprise COBOL V6.1, the build level information (of the form PYYMMDD) is always included in the header of the listing file, which assists with determining the maintenance level of the compiler. Here is an example of the listing header:
Start of changePP 5655-EC6 IBM Enterprise COBOL for z/OS 6.2.0 P170724End of change

In Enterprise COBOL V5 and V6.1, the diagnostic messages are in the middle of the listing. In Enterprise COBOL V6.2, the diagnostic messages are at the bottom of the listing as with Enterprise COBOL V4 and earlier compilers.

JCL changes

To change to uppercase English or Japanese compiler messages in COBOL V6, in addition to using the LANGUAGE compiler option, you must also set the Language Environment® runtime option NATLANG at compile time. We recommend using CEEOPTS DD in the compile JCL.

For example, to change messages to Japanese, use the LANGUAGE(JA) compiler option and also specify the NATLANG LE runtime option at compile time:
//CEEOPTS DD * 
          NATLANG(JPN)
/*
End of change