<SUBSTITUTE>
The <SUBSTITUTE> tag identifies whether to substitute values for variable names (in-line variables) within the text of the print stream.
The <SUBSTITUTE> tag setting does not affect replacement of field variables.
The <SUBSTITUTE> tag is only necessary when the input print streams, inserts, or banners contain in-line variables. If all insert or simple variable values are defined by Field tag groups (that is, no %%varname actually exists in the text of any input print stream), you do not need to specify the <SUBSTITUTE> tag since its default is NO. Doing so can help decrease processing time.
In-line variables should match the Enrichment platform and type of data you are using. On UNIX, Linux, and Windows, in-line variables are affected by the <RECORD> tag. PTX TCU variables can be affected by the <TYPE> tag.
Inline Variable Formats by Platform
The table below lists the format of the in-line variable based on print stream type and Enrichment platform.
| Print Stream Type | Format of In-line Variable on Mainframe | Format of In-line Variable on UNIX, Linux, and Windows |
|---|---|---|
| I, D, AFPL | EBCDIC | ASCII (set by the <RECORD> tag) |
| AFPM line data | EBCDIC | ASCII (set by the <RECORD> tag) |
| AFPDS and AFPM PTX TCU data | EBCDIC (set by the <TYPE> tag charset parameter) | EBCDIC (set by the <TYPE> tag charset parameter) |
| Metacode | ASCII | ASCII (set by the <RECORD> tag) |
| PCL | N/A | ASCII (set by the <RECORD> tag) |
Tag Groups
Syntax
<SUBSTITUTE> substituteYN
| Parameter | Description | Default | |
|---|---|---|---|
| substituteYN | One of the following:
|
NO | |