UCS NUM1 DC 24CL'1234567890' UCSCCW NUM1, (60,60,60,60) The NUM1 print buffer consists of twenty-four 10-character entries. If, after
DMKUCS is reloaded, the command LOADBUF OOE UCS NUM1 VER
is specified, 4 lines of 60 characters (the 10-character string repeated 6 times) are
printed to verify the buffer load).
Example 3: The print image can be specified in character or hexadecimal notation,
or a combination of the two. The code in DMKUCS to support the preferred char­
acter set, AN, is as follows: UCS DC
DC
DC
DC
DC
DC
DC
DC UCSCCW PCAN
C'1234567890,-PQR
C' .*1234567890,-JKLMNOABCDEFGHI+.*' C'1234567890,-PQR&&$%/STUVWXYZ' ,'9C'
C' .*1234567890,-JKLMNOABCDEFGHI+.*'
C'1234567890,-PQR
C' .*1234567890,-JKLMNOABCDEFGHI+.*' C'1234567890,-PQR&&$%/STUVWXYZ' ,'9C'
C' .*1234567890,-JKLMNOABCDEFGHI+.*'
PCAN, (60,60,60,60) The DCs are coded in both character and hexadecimal notation. The hexadecimal
code for the lozenge ('9C') follows the character notation on 4 of the DCs. The
DCs, when taken in pairs, represent 60 characters. When print verification of a
buffer load is requested, 4 lines of 60 characters are printed.
UCSB Buffer Images for the 3211 Printer
The Universal Character Set Buffer (UCSB) contains up to 512 characters and
supports the 3211 printer. To add a new UCSB image, first code the UCB macro.
This macro creates a 12-byte header record for the buffer load that is used by CPo
The format of the UCB macro is: I UCB I ucbname
where:
ucbname is a 1-to 4-character name that is assigned to the buffer load.
Next, supply the exact print image. The print image is supplied by coding DCs in
hexadecimal or character notation. The total length of the print image cannot
exceed 512 characters.
The format of the UCSB is:
Position
1-432
433-447
448-511
Contents
Print train image.
Reserved for IBM use. Must be all zeros.
Associative field. See Figure 33 on page 287 for an explanation of
the contents of this field. The associative field is used to check
Print Buffers and Forms Control 285
Examples of UCSB Images
(during print line buffer (PLB) loading) that each character loaded
into the PLB for printing also appears in the train image field of the
UCSB and, therefore, is on the print train. Any character loaded
into the PLB without its associated code in the train image field of
the UCSB is nonprintable, and causes a "print data check" to be set
immediately. The associative field also contains dual control bits.
512 Reserved for IBM use. Must be zero.
The UCBCCW macro must immediately follow the print image. This macro cre­
ates a CCW string to print the buffer load image when the operator specifies VER
on the LOADBUF command. The format of the UCBCCW macro is: I UCBCCW I ucbname['(print1,print2, ... print12)]
where:
ucbname is 1-to 4-character name that is assigned to the buffer load by the UCB macro.
[(print 1, ... ,print 12)]
specifies the line length of each line (up to 12) printed to verify the
buffer load. The line length must be between 1 and 150 (the length of
a print line on a 3211 printer). The default specification for verifica­
tion is 48 characters per line for nine lines. The total number of char­
acters to be printed must not exceed the size of the print train image,
432 characters.
Finally, insert the two macros just coded, UCB and UCBCCW, into the DMKUCB
module. This module must be reloaded before the new buffer image can be used.
DMKUCB is a page able module with no executable code. DMKUCB must be on a
page boundary and cannot exceed a full page in size. If DMKUCB exceeds a page
boundary (4K), an error message is issued.
The code for the All UCSB is as follows:
* A11 STANDARD COMMERCIAL 48 GRAPHICS 3211 UCB A 11
DC 9C'1<.+IHGFEDCBA*$-RPQONMLKJ%,&&ZYXWVUTS/@098765432' DC X'OOOOOO' 433-435
DC X'000000000000000000000000101010' 436-450
DC X'101010101010100040404240004010' 451-465
DC X'101010101010101000404041000040' 466-480
DC X'401010101010101010004040000000' 481-495
DC x'101010101010101010100040404448' 496-510
DC X'OOOO' 511-512 UCBCCW A11, (48,48,48,48,48,48,48,48,48)
EJECT
Note that the DC specification contains 49 characters and the UCBCCW macro
specifies 48 characters. The ampersand (&) must be coded twice in order to be
accepted by the assembler. The single quote (') must also be specified twice in
order to be accepted.
It would have been acceptable to code the UCBCCW as:
286 VM/SP System Programmer's Guide
Previous Page Next Page