Sign in

docs ILE Concepts

Syntax

Syntax

Syntax

On the CHGMOD, CHGPGM, and CHGSRVPGM commands, the case of the LICOPT parameter value is not significant. For example, the following two command invocations would have the same effect:

 > CHGMOD MODULE(TEST) LICOPT('nomaf')
 > CHGMOD MODULE(TEST) LICOPT('NoMaf')

When specifying several Licensed Internal Code options together, you must separate the options by commas. Also, the system ignores all spaces that precede or that follow any option. Here are some examples:

 > CHGMOD MODULE(TEST) LICOPT('Maf,NoFoldFloat')
 > CHGMOD MODULE(TEST) LICOPT('Maf,   NoFoldFloat')
 > CHGMOD MODULE(TEST) LICOPT('   Maf   ,   NoFoldFloat   ')

For Boolean options, the system does not allow specifying of the two opposite variants at the same time. For example, the system will not allow the following command:

 > CHGMOD MODULE(TEST) LICOPT('Maf,NoMaf')   <- NOT ALLOWED!

However, you can specify the same option more than once. For example, this is valid:

 > CHGMOD MODULE(TEST) LICOPT('Maf, NoFoldFloat, Maf')