The PGMINFO keyword for a Procedure statement is ignored when a program is being created.
0
Cause . . . . . : The PGMINFO keyword is ignored when a program is being created.
Recovery . . . : If you specified PGMINFO(*NO) for the linear main procedure, and you do not want program-information to be generated when a program is being created, conditionally specify PGMINFO(*NO) in your Control specifications, conditioned by /IF DEFINED(*CRTBNDRPG).