HP 3000 Manuals

Literals and System Values [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation


HP ALLBASE/BRW Reference Manual

Literals and System Values 

Some data dictionaries, in particular the HP Application Dictionary
support the definition of pre-defined constant values refered to as
System values or Literals.  In either case, a symbolic name is associated
with a constant value stored in the data dictionary.  Literals are always
string constants, and System Values can be either a string constant or an
integer.  A Literal has a maximum length of 16, and a System Value can be
up to 255 characters long.

You can reference a Literal or System Value as a Condition expression or
a calculated item formula with the syntax LITERAL(litname) or
SYSVAL(sysvalname), where LITERAL and SYSVAL are keywords and litname and
sysvalname are the symbolic names stored in the data dictionary.

If you want to print out the value of a Literal or System Value in a
report, you will need to create a calculated item whose formula
references the LITERAL or SYSVAL keywords.

You can find out what Literals of System Values are available for your
reports by using the BRWDLIST utility to return a listing of your data
dictionary.  Section 8 of the listing holds any available Literal values,
and Section 9 holds any available System Values.

Because the data dictionary is not referenced at runtime (except to check
the timestamp), the Literal and System Value values in a report are those
available when the report was compiled.  If you change the values, you
will need to recompile the related reports.[REV END]



MPE/iX 5.0 Documentation