This example shows you how to create a ILE COBOL module object using the CRTCBLMOD command.
CRTCBLMOD MODULE(MYLIB/XMPLE1) SRCFILE(MYLIB/QCBLLESRC) SRCMBR(MYLIB/XMPLE1) OUTPUT(*PRINT) TEXT('My ILE COBOL Program on iSeries') CVTOPT(*FLOAT)
The CRTCBLMOD command creates the module XMPLE1 in MYLIB, the same library which contains the source. The output option OUTPUT(*PRINT) specifies a compiler listing. The conversion option CVTOPT(*FLOAT) specifies that floating-point data types are brought into the program with their DDS names and a USAGE of COMP-1 (single-precision) or COMP-2 (double-precision).
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.