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

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

The first parameter specifies whether program-interface information is to be generated. Specifying *PCML indicates that program-interface information is to be generated. Specifying *NO indicates that no program-interface information is to be generated.

The second parameter is not allowed if the first parameter is *NO. Otherwise, the second parameter is required; it must be *MODULE, indicating 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 place in the program or service program. The information can then be retrieved using API QBNRPII.

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.



[ Top of Page | Previous Page | Next Page | Contents | Index ]