Displaying Module and ILE Program Licensed Internal Code Options
Displaying Module and ILE Program Licensed Internal Code Options
The DSPMOD, DSPPGM, and DSPSRVPGM CL commands and the QSYS2.BOUND_MODULE_INFO view display the Licensed Internal Code options that were applied.
DSPMOD displays them in the Module Information section. For example:
Licensed Internal Code options . . . . . . . . . . . : maf
DSPPGM and DSPSRVPGM display the Licensed Internal Code options that are applied to each individual module within the program in the Module Attributes section for each module.
By specifying the same Licensed Internal Code option more than once, all occurrences of that option except for the last one appear preceded by a ’+’ symbol. For example, assume that the command used to apply Licensed Internal Code options to a module object is as stated below:
> CHGMOD MODULE(TEST) LICOPT('maf, maf, Maf')
Then DSPMOD will show this:
Licensed Internal Code options . . . . . . . . . . . : +maf,+maf,Maf
The ’+’ means that the user specified redundant occurrences of the same option.
If any Licensed Internal Code options appear preceded by a ’*’ symbol, they no longer apply to a Module or ILE Program. This is because the system that performed the last recreation of the object did not support them. For more information, please see the Release Compatibility section. For example, assume that the new option was originally applied on a release N+1 system by using the following command:
> CHGMOD MODULE(TEST) LICOPT('NewOption')
The Module is taken back to a release N system that does not support that option, and then the Module object is recreated there using:
> CHGMOD MODULE(TEST) FRCCRT(*YES) LICOPT(*SAME)
The Licensed Internal Code options shown on DSPMOD will look like this:
Licensed Internal Code options . . . . . . . . . . . : *NewOption
The ’*’ means that the option no longer applies to the Module.
The BOUND_MODULE_INFO view can be used to see the Licensed Internal Code options for each module as well.
SELECT BOUND_MODULE_LIBRARY, BOUND_MODULE, LIC_OPTIONS, PROGRAM_LIBRARY, PROGRAM_NAME, OBJECT_TYPE
FROM QSYS2.BOUND_MODULE_INFO
WHERE PROGRAM_LIBRARY = 'MYLIB';