HP 3000 Manuals

Example 8: COBOL II/XL Commands [ HP COBOL II/XL Migration Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Migration Guide

Example 8:  COBOL II/XL Commands 

The following commands

          :COBOLII MYTEXT, MYUSL, MYLIST; INFO="info"
          :COBOLIIPREP MYTEXT, MYPROG, MYLIST; INFO="info"
          :COBOLIIGO MYTEXT, MYLIST; INFO="info"

should be changed to the appropriate commands as shown below.  To invoke
the 1985 ANSI Standard features, change them to the following:

          :COB85XL MYTEXT, MYOBJ, MYLIST; INFO="info"
          :COB85XLK MYTEXT, MYPROG, MYLIST; INFO="info"
          :COB85XLG MYTEXT, MYLIST; INFO="info"

To invoke the 1974 ANSI Standard features, change them to the following:

          :COB74XL MYTEXT, MYOBJ, MYLIST; INFO="info"
          :COB74XLK MYTEXT, MYPROG, MYLIST; INFO="info"
          :COB74XLG MYTEXT, MYLIST; INFO="info"

If the above command file functions are not sufficient, you may directly
use the MPE RUN command after giving file equations for COBTEXT, COBLIST,
etc.  You should use the RUN command with the entry point ANSI85 to
invoke the ANSI 1985 entry point.  Specify the secondary entry point
ANSI74 to invoke the 1974 ANSI Standard.  (Refer to the HP COBOL II 
Reference Manual for more information on the RUN command.)

If the following BUILD command is issued before the first compile, then
the NMRL file can be used the same was as USLS on MPE V.

          :BUILD $NEWPASS; CODE=NMRL
          :COB85XL MAIN,,$NULL
          :COB85XL SUB,,$NULL

or

          :BUILD MYOBJ; CODE=NMRL
          :COB85XL MAIN, MYOBJ, $NULL
          :COB85XL SUB, MYOBJ, $NULL



MPE/iX 5.0 Documentation