Installation Guide - NetCOBOL
Installation Guide - NetCOBOL
Installation Guide - NetCOBOL
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
For Oracle<br />
<strong>Installation</strong> <strong>Guide</strong> 15<br />
Data items can be defined in the LINKAGE SECTION of main programs only to<br />
receive command line arguments by OSIV format. If the data item is used for<br />
this purpose, correct the data item definition according to the diagnostic<br />
message.<br />
If the data item is not used for this purpose, define it in the WORKING-<br />
STORAGE SECTION.<br />
The application for Oracle created using <strong>NetCOBOL</strong> is a 32-bit application.<br />
IBM DB2 Universal Database<br />
The embedded SQL program interface that uses the DB2 Universal Database<br />
precompiler is supported in <strong>NetCOBOL</strong>. However, it must be used under the<br />
following conditions:<br />
a) Supported version<br />
IBM DB2 Universal Database Version 9.x<br />
b) Description of the program<br />
Describe the COBOL source using a fixed format for the reference format,<br />
[related option: SRF (type of reference format)], and follow the instructions in<br />
the DB2 Universal Database manual regarding the embedded SQL statement.<br />
c) Pre-compile<br />
Specify the following for the PRECOMPILE command parameter:<br />
- TARGET ANSI_COBOL<br />
d) Compiler options<br />
Specify the following compiler option:<br />
- ALPHAL(WORD)<br />
Do not specify the following compiler options:<br />
- DLOAD [dynamic program structure]<br />
- THREAD(MULTI)/-Tm [multithreading database access]<br />
Refer to Appendix A “Compiler Options" in the <strong>NetCOBOL</strong> User's <strong>Guide</strong> for<br />
details.<br />
e) COBOL library of DB2 Universal Database used for the compile<br />
Use the COBOL library for ANSI with DB2 Universal Database.<br />
f) Application<br />
A 32-bit application is created for DB2 Universal Database using <strong>NetCOBOL</strong>.<br />
g) Others<br />
In <strong>NetCOBOL</strong>, the program interface that uses the DB2 API is not supported.<br />
The operation of the object program that uses the DB2 API cannot be<br />
guaranteed. Refer to the article on COBOL programming in the DB2 Universal<br />
Database manual for additional information.