S Code - Substitution
The S (Substitution) code specifies two elements to be used for substitution.
- If the input to this code is not zero, the processor substitutes the first element for the value.
- If the input to this code is zero, the processor substitutes the second element for the value.
Each of these substitution elements can be the value of a specified attribute, a literal or the input to this code.
Input Conversion
Input conversion does not invert. It simply processes the input data.
Syntax
S;value-substitute;zero-substitute
Syntax Elements
value-substituteis the element that the processor substitutes for data that is not zero.
zero-substituteis the element that the processor substitutes for data that is zero.
Elements
The elements that you can use for value-substitute or for zero-substitute are:
- The AMC of an attribute, the value of which will be used.
- A literal enclosed in single or double quotes.
- An asterisk (*) to specify the input to this code.