Data Item Definitions [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation
HP Transact Reference Manual
Data Item Definitions
The previous chapter described the use of the DEFINE(ITEM) statement to
define items for use in the program. The DEFINE(ITEM) statement must
specify the name and type of the data.
A data dictionary can also be used to define items. Data items defined
in a Dictionary/V data dictionary can be obtained at compile time by both
the Transact/V and Transact/Ix compilers or at execution time by
Transact/V. Those defined in a System Dictionary data dictionary can only
be obtained at compile time for both Transact/V and Transact/iX.
Besides user-defined data item names, Transact also has a number of
reserved system variables. These variables are available to the Transact
programmer and are not defined in a DEFINE(ITEM) statement. The reserved
system variables are described as follows:
LINE the value of the terminal or printer line counter.
PAGE the output page counter value.
PLINE the value of the printer line counter.
STATUS the current value of the status register.
TLINE the value of the terminal line counter.
$CPU the cumulative number of CPU seconds used by a
Transact program.
$DATELINE the current date and time.
$HOME the name of the home or first database defined in
the SYSTEM statement.
$PAGE the current page number.
$TIME the current time.
$TODAY today's date.
MPE/iX 5.0 Documentation