Symbolic Expressions

The values of the parameters in the IEASYMxx.ini, IEASYSxx.ini , LNKLSTxx.ini, LPALSTxx.ini and PROGxx.ini files may contain symbolic expressions. Symbolic expressions consist of characters which are not substituted and symbol references which are substituted. Symbolic references start with an ampersand (&) and are followed by the symbol name. Symbolic references may be terminated by a period in order to separate them from subsequent characters in the value.

Symbolic references may be substring references, in which case the symbol name is followed by the starting position and length in parentheses. For example, &SYSNAME(2:3) with be evaluated to the second, third and fourth characters of the &SYSNAME symbol’s value. If the length is omitted, it will default to 1. The starting position may be a negative value, in which case the starting position is counted from the right. For example, &SYSNAME(-2:2) will be evaluated to the last two characters of the &SYSNAME symbol’s value.

SYMDEF statements in IEASYMxx.ini files may be used to define symbols. In addition, the Tachyon Operating System defines the following system symbols:
 

System Symbol Name Description
&JOBNAME Set to #MASTER#.
&SYSCLONE Set by the SYSDEF SYSCLONE parameter in an IEASYMxx.ini file. If not explicitly set, it is the last two characters of &SYSNAME.
&SYSNAME Set by the SYSDEF SYSNAME parameter in an IEASYMxx.ini file.
&SYSPLEX Set by the SYSPLEX parameter in the LOADxx.ini file.
&SYSR1 Set to SYSRES.
&YYMMDD and
&LYYMMDD
Set to the UCT and local date in YYMMDD format, respectively. These and all other dates and times are for the time that the Tachyon Operating System was started.
&HHMMSS and
&LHHMMSS
Set to the UCT and local time in HHMMSS format, respectively.
&YR4 and &LYR4 Set to the UCT and local 4-digit year, respectively.
&YR2 and &LYR2 Set to the UCT and local 2-digit year, respectively
&MON and &LMON Set to the UCT and local 2-digit month number, respectively.
&DAY and &LDAY Set to the UCT and local 2-digit day of the month, respectively.
&JDAY and &LJDAY Set to the UCT and local 3-digit day of the year, respectively.
&WDAY and &LWDAY Set to the UCT and local 3-character day of the week, respectively. The possible values are: SUN, MON, TUE, WED, THU, FRI and SAT.
&HR and &LHR Set to the UCT and local 2-digit hour, respectively.
&MIN and &LMIN Set to the UCT and local 2-digit minute, respectively.
&SEC and &LSEC Set to the UCT and local 2-digit second, respectively.


Frames No Frames Previous Next Contents
Introduction Setup Programs Files Running Testing Compatibility Customization Messages Codes

© Copyright 1998-2000, Tachyon Software® LLC.
Last modified on September 18, 2000