pc.c Processing Code/Restore Processor

pc.c

Command pc.c Processing Code/Restore Processor
Applicable release versions: AP, R83
Category Restore Processor (84)
Description concatenates elements for output.

Each element may be delimited by a character to appear on output. The ";" (semi-colon) has a special meaning; it does not appear on output.

The elements can be:

- Numeric constants, enclosed in quotes.

- An Attribute position, referenced by its numeric attribute count.

- An alphanumeric character string enclosed in quotes, double quotes, or backslashes. When delimited by semi-colons, strings must be enclosed in quotes. Otherwise, alphanumeric strings are not separated from the other entries by semi-colons (;).

- '*' (asterisk). The asterisk is a special character used to concatenate the resulting value from the last processing code operation.

In the third form listed under syntax, the "x" specifies the separator to appear between the concatenated elements. The separator may be any non-numeric character including a blank or semicolon, but cannot be a system delimiter. The semicolon is a special separator that specifies the elements are to be concatenated with no separation.
Syntax celement{;element...}
celement{/*}
celement{xelement}{...}
Options
Example
c;3;", ";4;" ";5

Concatenates the current item's value of attribute three with a comma and 
a blank, attribute four, a space, and attribute five.
Purpose
Related output-conversion
processing.codes
list.processor
up.input-conversion.adi
pc.concatenate
pc.a
pc