PermitLangx

Read syntax diagramSkip visual syntax diagram
Syntax

   .-NOPermitLangx---------------------------.   
>>-+-----------------------------------------+-----------------><
   |                 .-,----------------.    |   
   |                 V  (1)             |    |   
   +-PermitLangx--(----------message_id-+--)-+   
   '-NOPermitLangx---------------------------'   

Notes:
  1. Either comma or blank character is permitted as delimiter.

Some compilers issue messages during the compilation which result in a return code greater than 4, while still producing a valid object module. However, since HFZLANGX processing by default treats all messages that cause a return code greater than 4 as an error, this option can be used to specify a list of message IDs which should be ignored when found in the listing from a compilation ending with a return code greater than 4.

The PermitLangx option is applicable to COBOL or PL/I compiler listings only.

PL/I message IDs must be specified with a length of 8 characters. For example, if the following message was written to the compiler listing
Message     Statement  Message Description
IBM1352I E         11  The statement element PUT is invalid. The statement
                       will be ignored.
then specifying the PermitLangx option as follows allows HFZLANGX processing to be performed:
PermitLangx(IBM1352I)
OS/VS COBOL message IDs must be specified with a length of 8 characters. For example, if the following message was written to the compiler listing
CARD   ERROR MESSAGE
20     IKF1150I-C     ILLEGAL CHARACTER IN COLUMN 7, BLANK ASSUMED.
then specifying the PermitLangx option as follows allows HFZLANGX processing to be performed
PermitLangx(IKF1150I)
All other COBOL message IDs (other than OS/VS COBOL) must be specified with a length of 9 characters. For example, if the following message was written to the compiler listing
LineID  Message code  Message text
     1  IGYDS0017-E   "IDENTIFICATION" should begin in area "A".  It was
                      processed as if found in area "A".
then specifying the PermitLangx option as follows allows HFZLANGX processing to be performed
PermitLangx(IGYDS0017)