Problem:
I noticed a new directive in ALL10M30 for Mainframe Express V3.0. What is this and what does it do?
Resolution:
Let's start with a Cobol program that has a copybook and there is an error in the copybook.
If an error is reported on line 456 and there are 111 lines of copy files before the error, we have to look to line 345, but this information was not given, neither in the listing, nor on a COBOL compiler start from the Command Line.
To address this, ER RPI 1059440 was fixed and delivered in ALL10M30 by adding a new directive with sub-options as follows:
ERRFORMAT
Specifies the type of error message format
to be used for command-line compiles and
to appear in the list file.
Parameters : integer can be 1 or 2.
Properties : Default: ERRFORMAT(1)
Phase: Syntax Check
$SET: Any
Comments. The possible values of integer are ...
1 Traditional format which has been used for previous products.
2 New 'COBCH' format which is used for compiles from the IDEs.
With ERRFORMAT(1) only the number of the error message is displayed/listed.
With ERRFORMAT(2) the relative line numbers using the IDE style of flagging are listed with the full compiler error message (COBCHnnnn).
#MFDS
#EnterpriseDeveloper