04.04.2013 Views

Installation Guide - NetCOBOL

Installation Guide - NetCOBOL

Installation Guide - NetCOBOL

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

14 <strong>Installation</strong> <strong>Guide</strong><br />

Notes<br />

Program, Class and method names<br />

• The COBOL system uses, internally, names that start with two underscores<br />

(__). A program, class or method name that starts with two successive<br />

underscores may already have been used as an internal name.<br />

• The following names cannot be used:<br />

- MAIN, main, JMP???, COB_???, COBOL_???, COBW3_???<br />

- Names described in Appendix G: “Subroutines Offered by <strong>NetCOBOL</strong>” in the<br />

“<strong>NetCOBOL</strong> User’s <strong>Guide</strong>”.<br />

Warning error on RAISING phrase<br />

Compile error "JMN3448I-W" may be issued on a RAISING phrase in an EXIT<br />

METHOD statement. This is a result of adding the RAISING phrase to the<br />

PROCEDURE DIVISION header. However, the error does not affect program<br />

execution. Refer to the "Procedure Division Header" section in the "<strong>NetCOBOL</strong><br />

Language Reference" for details.<br />

Fixed format<br />

When compile option SRF(FIX[,FIX]) is specified and the source record length is<br />

greater than 80 bytes, earlier versions of the compiler assumed that the part<br />

beyond column 81 was the next record. In this version, the compiler ignores the<br />

part beyond column 81.<br />

Stronger Checks on LINKAGE SECTION Items<br />

In <strong>NetCOBOL</strong>, the COBOL compiler checks for illegal references to data items<br />

defined in the LINKAGE SECTION at compile time. As a result, programs that<br />

compiled correctly with earlier versions of Fujitsu COBOL may now generate one of<br />

the following compilation errors:<br />

• JMN3482I-S: Illegal use of a data item defined in the LINKAGE SECTION of a<br />

called program, method, or second entry point.<br />

• JMN3483I-S and JMN5595I-S: Illegal use of a data item defined in the<br />

LINKAGE SECTION of the main program (the command line argument of OSIV<br />

format).<br />

If these errors are output, the program should be corrected as follows:<br />

• When JMN3482I-S is output<br />

If the data item indicated by the diagnostic message was used as a parameter<br />

for a called program, method, or second entry point, correct this by specifying<br />

the data item in the USING/RETURNING phrase of the PROCEDURE DIVISION<br />

(for programs and methods) or USING phrase of the ENTRY statement (for<br />

secondary entry points). If the data item is not used for this purpose, you<br />

should define it in the WORKING-STORAGE SECTION.<br />

• When JMN3483I-S or JMN5595I-S is output

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!