This control statement allows the panel definition to contain alternative names for variable names in TYPE=INPUT and TYPE=OUTVAR fields.
This facility is useful if you want to have short fields with long variable names. Each reference to name in the panel definition is regarded as a reference to the next name from the list of VARS specified.
This control statement has the following format:
#ALIAS name
{ VARS=prefix*[ RANGE=(start,end) ] |
VARS={ vname | (vname,vname, …,vname) } }
Specifies the alias name that appears in the panel definition. Whenever this name occurs in a field declared as TYPE=INPUT or TYPE=OUTVAR on the #FLD statement, Panel Services logically replaces it with the next available name from the VARS list.
The name can be from one to eight characters in length. The first character must be an alphabetic or national character. The remaining characters, if any, must be alphanumeric or national characters.
The same name can be used on multiple #ALIAS statements. The variable names are simply added to the end of the list of names to which the alias name refers.
Specifies the list of names to replace the alias name in the panel definition. Each time the alias name is encountered in the panel definition, it is replaced by the next available name from this list. The formats of the operands associated with VARS= are as follows:
Examples: #ALIAS Control Statement
#ALIAS Z VARS=LONGNAME #ALIAS Z123 VARS=(SATURDAY,SUNDAY) #ALIAS AVAR VARS=LINE* RANGE=(10,20)
Notes:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |