Logic Commands Overview |
DEVELOPER |
All the logic commands available in PROIV are listed separately and describe their purpose, syntax, operation, and remarks and if appropriate provide examples. Logic Commands are available in alphabetic order and also within their respective Logic Types.
In-Line Substringing is a facility that may be used independently or in conjunction with logic commands to manipulate data.
You should also be aware of the rules associated with the Assignment (=) statement.
Typographical Conventions
The following typographical conventions are used in the description of logic commands:
Bold Text |
Bold text in syntax descriptions represents characters that must be typed exactly as shown e.g. CTIME |
Italic Text |
Characters or words in italics indicate parameters that must be supplied by the user. e.g. NUMERIC (operand) |
[param | param] |
Parameters shown separated by vertical lines within square brackets in syntax descriptions indicate that at least one of these parameters must be selected. |
{Braces} |
Braces enclose optional parameters e.g. |
... (Ellipsis) |
In syntax descriptions, an ellipsis indicates that the parameters preceding it can be repeated as many times as necessary e.g. PARMS scratch-var1{,scratch-var2...} |
Justification and Truncation
Within logic commands the following justification and truncation of data occurs:
Alphanumeric Data |
is left justified. If the result field is shorter than the value to be placed in it, right truncation occurs. |
Numeric Data |
is truncated if the numeric value is assigned to a shorter numeric variable. In this case, the least significant digits are lost, but the exponent remains intact. |
Wide Data |
is left justified. If the result field is shorter than the value to be placed in it, right truncation occurs |
Topic ID: 520082