Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
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:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LIB | Library | Name, *ALLUSR, *PTY | Required, Positional 1 |
OBJTYPE | Object type | *ALL, *FILE, *ALLPGM, *SQL | Optional, Positional 2 |
PTY | Priority | 1-99, *ALL | Optional, Positional 3 |
Top |
Specifies the user library whose objects are to be converted to the format of the current operating system.
This is a required parameter.
#CGULIB #DSULIB #SEULIB #COBLIB #RPGLIB #DFULIB #SDALIB
Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also converted:
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx QGPL QSRVAGT QUSRINFSKR QGPL38 QSYS2 QUSRNOTES QMGTC QSYS2xxxxx QUSROND QMGTC2 QS36F QUSRPOSGS QMPGDATA QUSER38 QUSRPOSSA QMQMDATA QUSRADSM QUSRPYMSVR QMQMPROC QUSRBRM QUSRRDARS QPFRDATA QUSRDIRCL QUSRSYS QRCL QUSRDIRDB QUSRVI
Note: Although only one library can be specified on this command, repeated calls of this command in a CL program can be used to convert a set of user libraries.
Top |
Specifies which objects in the library should be converted to the format of the current operating system.
Top |
Specifies the priority of libraries to be converted to the format of the current operating system. The priority groups are set on the source system during upgrade preparation. This parameter is valid only when *PTY is specified for the Library (LIB) parameter.
The priority for a library can be set with the Plan Object Conversion task of the Upgrade Assistant.
Note: You must specify a value for this parameter if *PTY is specified for the LIB parameter.
Note: Although only one priority can be specified on this command, repeated calls of this command in a CL program can be used to convert multiple sets of libraries with different priority numbers.
Top |
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.
Top |
*ESCAPE Messages
Top |