Diagram

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ








The Set Field order sets the highlight ("H") and/or protected ("P") attribute.

10.2.3 New Line

Descriptive

Diagram

Êʬ¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ





The New Line order forces a skip to a new line.

10.2.4 Align

Descriptive

@

Diagram

Êʬ¬¬ ¬¬¬§¬¬¬ ¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




¬¬¬¬¬«




¬¬¬¬«








The Align order specifies the text alignment relative to the left and right borders of the terminal. When the
alignment is other than "NONE" a new line is automatically inserted after each line of text. If the alignment
is "NONE" then the text will be written without skipping to the next line.

10.3 Variables

It is possible to imbed substitution variables in the outgoing text. Substitution is indicated by enclosing the
variable name between "$(" and ")". The Hercules version as an example can be specified by the
following string: $(VERSION)

The following variables are defined. It is also possible to specify environment variable names.

$(VERSION)
The Hercules version.
$(HOSTNAME)
The host name, on which Hercules is running.
$(HOSTOS)
The host operating system.
$(HOSTOSREL)
The release of the host operating system.
$(HOSTOSVER)
The version of the host operating system.
$(HOSTARCH)
The host architecture.
$(HOSTNUMCPUS)
The number of host CPUs. UP (Uniprocessor for one CPU), or MP=n (Multiprocessor for more
than one CPUs).
$(LPARNAME)
The LPAR name specified in the configuration file.
$(CSS)
The logical channel subsystem set or channel set for the terminal.
$(SUBCHAN)
The subchannel number for the terminal.
$(CCUU), $(ccuu), $(CUU), $(cuu)
Various forms of the device number of the terminal.

10.4 Sample

The file "herclogo.txt" is provided in the Hercules distribution as a sample template. This sample reflects
the contents of the built-in logo.

@ALIGN NONE

@SBA 0,0

@SF P

Hercules Version :

@SF HP

$(VERSION)

@NL

@SF P

Host name :

Previous Page Next Page