SNAX/XF LU Network Services Manual

SNAXUTL ADD Commands
The SNAX/XF Utility
A–18 097841 Tandem Computers Incorporated
USERDATA
user-data
If a value for
plu-name
is not present, the length specified for
user-data
will
be found at byte 28, and the
user-data
value(s) will begin at byte 29.
If a value for
plu-name
has been specified, then the length for
user-data
will be
found at the next byte past
plu-name
, and the
user-data
value(s) will follow. If
a value for
plu-name
has been specified, and USERDATA
user-data
is not
specified, then the USERDATA length byte will be %H00.
If neither PLUNAME or USERDATA is specified, then the
user-data
length byte is
not included in the BIND image. In this case, the last byte in the BIND image will
be byte 27 (the length of
plu-name
, which is %H00).
The value for user-data is specified as a hexadecimal string enclosed in
parenthesis, with a maximum length of 221 bytes. See the following examples:
USERDATA (%H40,%H54,%H41,%H4E,%H44,%H45,%H4D,%H40)
USERDATA (%HC1,%HC1,"AAAAAA", "BBBB", %HC2, %HC3)
Note that the total length of the BIND image cannot exceed 256 bytes, including
what is specified for
plu-name
and the command object that follows it,
user-
data
.
Example: Constructing a Bind Image
The following is an example BIND image as constructed using LOGMODENT. It
resides in $
vol.subvol.file
.
BEGIN
SELECTFILE LOGTAB1, TYPE LOGMODE
ALLOCATE 10
ADD LOGMODENT
bind1
, TYPE %H01, &
FMPROF %H03, &
TSPROF %H03, &
PRIPROT %B01, &
SECPROT %H90, &
COMPROT %H3080, &
PSERVIC %H020000000000185018507F00, &
PSNDPAC %H00, &
SRCVPAC %H00, &
SSNDPAC %H00, &
PLUNAME "APPL1", &
USERDATA (%HC1,%HC3,"DEPT 103" )
END