ACC Utilities Reference Guide

Chapter 2 65
TTGEN - ZCOM System Table Generator
Creating the TTGEN Configuration File
<format> specifies the format of the following data, and is either:
STRING—following data is an ASCII string
BYTES—following data are contiguous byte (8-bit)
values
INT16—following data are contiguous 16-bit values
<data> specifies the data value to be used, and must be:
quoted string for STRING data, a nd
numeric values for BYTES or INT 16 data
Example
NOTE The following is an example, only for illustration; do not use it in your
TTGEN configuration file:
Ldata 0 STRING ”User-Data”
Ldata NAME:X25CNT:0 BYTES 0,7,200,255
Ldata NAME:X25CNT:4 INT16 3000, 5000, 60000
Theaboveexampledefinesthefirst9bytesofextensionareatobeASCII
“User-Data”, the first 4 bytes of region “X25CNT to be binary 0, 7, 200,
and 255, and the next 3 16-bit values (i.e., 6 bytes) of the same region to
be 3000, 5000, and 60000.
Repeat <nnn>
The Repeat keywordisusedtoreplicateTerm, Pterm,orLterm entries.
When the Repeat statement is encountered, it will duplicate the Term,
Pterm,orLterm defined immediately before the repeat statement by the
number of times indicated. The ZLU numbers o f the replicated entries
are assigned by incrementing the original ZLU number by one for each
entry created. For example, the statements:
Term 060 1:1 X25.SVC.IN 0000h 3200h 99 0000”Level.3 SVC IN”
Repeat 3