PGMINFO(*PCML | *NO | *DCLCASE { : *MODULE ... } )

The PGMINFO keyword specifies how program-interface information is to be generated for the module or program.

Start of change
*NO
Specifying *NO indicates that no program-interface information is to be generated.
*PCML
Specifying *PCML indicates that program-interface information is to be generated in the form of Program Call Markup Language.
*MODULE
Specifying *MODULE indicates that program-interface information is to be generated directly into the module. If the module is later used to create a program or service program, the program-interface information will also be placed in the program or service program. The information can then be retrieved using API QBNRPII.
*DCLCASE
Specifying *DCLCASE indicates that the names in the PCML will be generated in the declaration case of the name. See The declaration case of a name.
End of change

Start of changeThe first parameter must be one of *NO, *PCML, or *DCLCASE. Additional parameters are not allowed if the first parameter is *NO or *DCLCASE.End of change

Start of changeIf the first parameter is *PCML, at least one additional parameter is required. The additional parameters can be *DCLCASE or *MODULE or both.End of change

The PGMINFO setting defaults to the values specified on the PGMINFO and INFOSTMF parameters of the CRTRPGMOD or CRTBNDRPG command. If the PGMINFO keyword conflicts with the PGMINFO and INFOSTMF command parameters, the value of the Control specification keyword overrides the values specified on the command. However, if the requests from the command parameters and the PGMINFO keyword are different but not in conflict, the compiler will merge the values of the command parameters and the PGMINFO keyword.

Start of change

The declaration case of a name

End of change