At i6.1 and higher, after the PTF's are installed, but before the module source is compiled by CA 2E, the following statements must exist in the module source. The PGMINFO statement does not have to be manually added at i6.1 and higher.
H PGMINFO(*PCML:*MODULE)
PROCESS OPTIONS PGMINFO(PCML MODULE)"
Note: 2E does not automatically generate these PGMINFO source lines.
An easy method to accomplish generation of PGMINFO into i6.1 and higher source is to create an EXCUSRSRC member containing the PGMINFO statement and then include that statement in the AD of the module, as in the following examples:



The generated source for the module shows the included PGMINFO line:

Note: At i6.1 and higher, it is not necessary to add the PGMINFO statement, but you must ensure that the Compiler Overrides for the Module have the PGMINFO parameter set to PGMINFO(*PCML *MODULE).
In addition to modifying CA 2E functions using EXCUSRSRC to include the keyword PGMINFO(*PCML : *MODULE), the YRP4HS2 model value can be used to alter H spec generation (for an RP4 module) on a model-wide basis.
YRP4HS2 (*MODULE) ships with a value of 'H DATFMT(*YMD) DATEDIT(*YMD) DEBUG(*YES)'.
Changing the value, as below, ensures any generated module is generated with contained PCML:
YCHGMDLVAL MDLVAL(YRP4HS2) VALUE('H DATFMT(*YMD) DATEDIT(*YMD) DEBUG(*YES)
PGMINFO(*PCML : *MODULE)')
|
Copyright © 2014 CA.
All rights reserved.
|
|