If the symbolic variable does not have a system value, you must assign a value before using the symbolic variable. You can also specify subscripts on symbolic variables that do not have a format-code. There are two formats for subscripted symbolic variables. If only one numeric value is present, a starting position of 1 is assumed. A second subscript format allows for a starting position as well as a length to be entered:
Example (one subscript)
LU=L784000
ID=LU#&LU(4)
This results in the value for ID being set to:
LU#L784
Example (two subscripts)
LU=LU250021
ID=LU&LU(5,4)
This results in the value for ID being set to:
LU0021
| Copyright © [set copyright date variable] CA. All rights reserved. |
|