CL Command Reference - STROBJCVN

CL Command List > STROBJCVN Reference

Description:

The Start Object Conversion (STROBJCVN) command converts user objects from the format used in a previous version, release, and modification level of the operating system to the format required for use in the current operating system. The following objects are converted with this command:
. Programs (original program model (OPM) and Integrated Language Environment (ILE))
. Service programs
. Modules
. Database files (physical and logical) on Replacing-a-release upgrade methods.
. Objects that may contain SQL statements (programs, service programs, or SQL package (*SQLPKG) objects) as well as program and service program objects that are used to implement an external stored procedure. Only the stored SQL statement information is converted to the current operating system format.

The user objects that are not converted with this command are automatically converted when they are first used.

Note: Using objects that are not yet converted will have a one-time performance degradation while the conversion operation is performed.

Restrictions:

. Programs, service programs, and modules must have all observable creation data to be converted. Unobservable creation data cannot be used by this command. Conversion of stored SQL statement information does not require observable creation data.


Examples:

Example 1: Start Conversion of All Objects

STROBJCVN LIB(LIB1)

This command converts all OPM and ILE programs, service programs, modules, and physical and logical database files contained in the LIB1 user library to the format of the current operating system.

In addition, the stored SQL information in all *PGM, *SRVPGM, and *SQLPKG objects that contain SQL statements, as well as *PGM and *SRVPGM objects that are used to implement external stored procedures, is converted to the format of the current operating system.



Example 2: Start Conversion of SQL Objects

STROBJCVN LIB(LIB2) OPTION(*SQL)

This command converts the stored SQL information in all *PGM, *SRVPGM, and *SQLPKG objects in library LIB2 that contain SQL statements, as well as *PGM and *SRVPGM objects in library LIB2 that are used to implement external stored procedures, to the format of the current operating system.