Creating the object for the previous release

If you want to run control language (CL) programs for a previous release, you must install option 9 (*PRV CL Compiler Support) from IBM® i.

The following object types must be created specifically for a target release:

  • Program (*PGM)
  • Service program (*SRVPGM)
  • Module (*MODULE)
  • C locale description (*CLD)
  • SQL package (*SQLPKG)
  • Java™ program (*STMF)

Create the object on the current release by using the appropriate create command with the target release (TGTRLS) parameter. All other object types can skip this step. If the object was created on, or is restored from, the previous release, and is not created again on the current release, you can skip this step. To determine what release the object was created on, use the Display Object Description (DSPOBJD) command and specify DETAIL(*SERVICE) to display the System-level value.

It is suggested that previous-release programs and current-release programs be stored in separate libraries to simplify maintenance. Using the Display Program (DSPPGM) command, the Earliest release that program can run field shows if a program can be saved to the previous release. This suggestion also applies to previous-release and current-release modules and service programs. To determine if *MODULE objects can be saved to a previous release, use the Display Module (DSPMOD) command. To determine if *SRVPGM objects can be saved to a previous release, use the Display Service Program (DSPSRVPGM) command.

To determine if Java class file (*STMF) or Java jar file (*STMF) objects with attached Java programs can be saved to a previous release, use the Display Java Program (DSPJVAPGM) command.

Table 1 shows the languages and commands that support the TGTRLS parameter.


Table 1. Language support for the target release parameter
Language Command
ILE C CRTBNDC
CRTCMOD
CRTCLD
   
ILE C++ CRTBNDCPP
CRTCPPMOD
   
CICS® CRTCICSC
CRTCICSCBL
CRTCICSGRP
  CRTCICSMAP
   
CL CRTBNDCL
CRTCLMOD
CRTCLPGM
   
ILE COBOL CRTBNDCBL
CRTCBLMOD
CRTCBLPGM
CRTS36CBL
   
ILE RPG CRTBNDRPG
CRTRPGMOD
CRTRPGPGM
CRTRPTPGM
CRTS36RPG
CRTS36RPT
   
SQL CRTSQLCI
CRTSQLCBL
CRTSQLCBLI
CRTSQLCPPI
CRTSQLPLI
CRTSQLRPG
CRTSQLRPGI
   
Java CRTJVAPGM
   
Other CRTPGM
CRTSRVPGM