UOA:OMQCHGLL
Compilation LIBL (OMQCHGLL) - Help
Compilation LIBL (OMQCHGLL)
This Application Program Interface command allows you to manipulate the TD/OMS database. This can be done from a command line or from within your programs.
The command enables you to perform all allowed actions on an environment and sub-environment library list. You can use this command to add, update, copy and delete the library list.
Action code
Specify the action to be performed. The possible values are:
- *ADD
- Use this action code to add the library list.
- *CHANGE
- Use this action code to change the library list.
- *COPY
- Use this action code to copy the library list.
- *DELETE
- Use this action code to remove the library list.
Application code
Specify the application code. See the description of the application code for more information.
environment code
Specify the environment code. See the description of the environment code for more information.
Sub-environment sequence number
Specify the sub-environment sequence number. See the description of the sub-environment sequence number for more information.
- *ENV
- You can use *ENV for the environment level and use a sequence number to specify the sub-environment sequence number.
When to Activate
Specifies when the setting of the library list has to be activated. The possible values are:
- *ALWAYS
- The compilation library list is set both at User Exit Point 5 or Action CO and at the moment of object creation. This is the recommended default.
- *USEREXIT
- The compilation library list is only set at User Exit Point 5 or Action CO.
- *NOUSEREXIT
- The compilation library list is only set at the moment of the object creation.
Target application code
Use this prompt to enter the application code in which you want to copy the library list. Refer to the description of the application code for a detailed description.
- *SAME
- Use this value to indicate that the target application code is similar to the application code if you are in copy mode.
Target environment code
Use this prompt to enter the environment code in which you want to copy the library list. Refer to the description of the environment code for a detailed description.
- *SAME
- Use this value to indicate that the target environment code is similar to the environment code if you are in copy mode.
Target sequence number
Use this prompt to enter the sequence number of the environment or sub-environment in which you want to copy the library list. Refer to the description of the sequence number for a detailed description.
Library list
The library name is an OS/400 library or it can be defined as a logical library for describing folder and 4GL model storage information. Libraries are checked for existence if the sub-environment type has a value of "0" or "1".
The following special entries may be used in the compilation library lists.
- *SAME
- Use this value to indicate that the library list is not changed if you are in CHANGE mode.
- *LIBS
- The value *LIBS will insert the object and source libraries into the library list. Only libraries that are part of the sub-environment will be used. No *SEARCH libraries will be inserted.
- *ENV
- This value can be used on the sub-environment level. The compilation library list will be augmented with the compilation libraries specified on the environment level. If no compilation library list is set for a sub-environment, the *ENV value will be assumed.
- *JOBLIBL
- This value can be used to insert the current job library list. The use of this value is not recommended because it depends on the current value of the job library list. However, in some rare circumstances, it might be useful. Use with caution.
- *OMSLIB
- The TD/OMS library will always be inserted automatically at the end of the compilation library list. In case you want the library on a different location you may use this value.