Specifying a Different Target Release
You can compile a ILE COBOL program on an iSeries server using the current release
of the OS/400 operating system.
Note:
The ILE COBOL compiler and the OPM COBOL/400 compiler
are separate individual product options. The information contained in this
section applies only to the current release of the ILE COBOL compiler.
The Target Release (TGTRLS) parameter of the CRTCBLMOD and CRTBNDCBL commands
allows you to specify the release level on which you intend to use the module
object. The TGTRLS parameter has three possible values: *CURRENT, *PRV, and target-release.
- Specify *CURRENT if the module object is to be used on the release of
the operating system currently running on your system. For example, if V4R4M0
is running on the system, *CURRENT means you intend to use the program on
a system with V4R4M0 installed. This value is the default.
- Specify *PRV if the object is to be used on the previous release, with
modification level 0, of the operating system. For example, if V4R4M0 is
running on the system, *PRV means that you intend to use the object on a system
with V4R3M0 installed. You can also use the object on a system with any subsequent
release of the operating system installed.
- target-release allows
you to specify the release level on which you intend to use the module object.
The values you can enter for this parameter depend on the current version,
release, and modification level, and they change with each new release.
Specify the release level of the target environment in the format VxRxMx.
The object can be used on a system with the specified release or with any
subsequent release of the operating system installed.
For example,
if you specify V4R2M0, the object can be used on a V4R2M0 system.
For more information about the TGTRLS parameter, see TGTRLS Parameter.
You should be aware of the following limitations:
- You can restore an object program to the current release or to a subsequent
release. You cannot restore an object program on a previous release that is
not allowed by the TGTRLS target-release.
- No product library should be in the system portion of your library list.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.