HP 3000 Manuals

COBOL II/XL Compiler Messages [ HP COBOL II/XL Migration Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Migration Guide

COBOL II/XL Compiler Messages 

This section lists the messages you may encounter when compiling programs
that have been converted to COBOL II/XL.

8        MESSAGE           CALL <intrinsic_name> assumed to be CALL INTRINSIC.

         CAUSE             The program contains a CALL statement for the named
                           intrinsic, but you did not include the word INTRINSIC in the
                           statement.  Since you specified the CALLINTRINSIC option of
                           the $CONTROL subsystem command and the compiler found that
                           the procedure is an intrinsic, it is incorporated into the
                           program.

         ACTION            Include the word INTRINSIC in CALL statements where
                           appropriate.

---------------------------------------------------------------------------------------

272      MESSAGE           INTRINSIC RETURN VALUE MISMATCH.

         CAUSE             A CALL INTRINSIC ".LOC." has a GIVING data item that is
                           described as PIC S9(4) COMP.

         ACTION            Change the GIVING data item to either PIC S9(9) COMP or PIC
                           S9(18) COMP.

---------------------------------------------------------------------------------------

282      MESSAGE           INVALID SUBSYSTEM COMMAND PARAMETER.

         CAUSE             Your program included a $CONTROL option that is not valid
                           for COBOL II/XL programs.  ANSIPARM, BIGSTACK, and SORTSPACE
                           are $CONTROL options that are no longer valid.

         ACTION            Although including an invalid option will not stop your
                           program from compiling, you should remove any invalid
                           options to resolve the error messages.

---------------------------------------------------------------------------------------

389      MESSAGE           Parameter <identifier> is not aligned properly.

         CAUSE             A parameter passed to a subprogram or intrinsic is not on a
                           32-bit (or 16-bit) boundary although the compiler expects it
                           to be.

         ACTION            Add the SYNC clause to the data description of the
                           identifier mentioned in the error message.

---------------------------------------------------------------------------------------

421      MESSAGE           OPERAND <identifier> HAS ILLEGAL FORMAT FOR STATEMENT.

         CAUSE             A CALL <identifier> statement has a numeric identifier.

         ACTION            Change the CALL statement so it calls the name of the
                           appropriate subprogram rather than its plabel.

---------------------------------------------------------------------------------------



MPE/iX 5.0 Documentation