This pragma can be used to create a documentation area in each module (code and data CSECT) of the generated LLM. This area contains general information on the translation unit (e.g. the version number or creation date), but no data on the function of the module. If desired, a patch area can be reserved for corrections that may be required at a later stage.
Format:
#pragma ETPND { CODE | DATA }
[,VER= version ]
[,DATE= datum ]
[,COMPNR= compnr ]
[,PATCH= anzahl ]
[,MODULLENGTH= länge ]CODE
CODE | The ETPND area is created in the code or data module. |
version | Module version as a decimal value in the range [0..999]. If this entry is |
date | Date of creation, in the form yyyymmdd, yyyy-mm-dd or yymmdd. Overflows in months or days, if present, are converted to the canonical If no creation date is specified, the compiler uses the date of compilation. |
compno | Component number as a decimal value in the range [0..99999999]. If this |
number | Size of the patch area in bytes. The value must not exceed 4294967295 |
length | Length of the module including that of the ETPND area (24+7 bytes due to |
Notes
An ETPND pragma cannot be used to specify values for both MODULLENGTH and PATCH at the same time. If the ETPND pragma contains both entries, MODULLENTGH is ignored.
Only one ETPND pragma may be specified per module (i.e. per code and data CSECT). If multiple ETPND pragmas are specified for the same module, only the last pragma specified is used.