The ucsccw .acro must immediately follow the print image. This macro
creates a CCW string to print the buffer lead image when VER is
specified by the operator on the LOADBUF command. The format of the UCSCCW macro is:
r I I ucsccw I ucsname[, (print 1, print2, ••• , print 12) ]
L
ucsname is a 1-to 4-character name that is assigned to the buffer
load by the UCS macro.
( (print1, ••• ,print12) ]
is the line length (or number of characters to be printed by
the corresponding CCW) for the verify operation. Each count
specified must be between 1 and 132 (the length of the print
line on a 1403 printer) and the default line length is 48
characters. Up to 12 print fields may be specified. However,
the total number of characters to be printed may not exceed 240. Finally, insert the macros just coded, UCS and UCSCCW, into the DMKUCS module. This module must be reloaded. DMKUCS is a pageable
module (with no executable code) that is called by DMKCSO. D8KUCS must be on a page boundary and cannot exceed a full page in size. 1: You do not have to specify the line length for verification
of the buffer load. Insert the following code in DMKUCS: UCS EX01 DC 5CL'1234567890A ••• Z1234567890*/' UCSCCW EX01 The buffer image is 5 representations of a 48-character string
containing: The alphabetic characters The numeric digits, twice The special characters: * and / Since the line length for the print verification is not specified on the UCSCCW macro, it defaults to 48 characters per line for 5 lines. l: Insert the following code in DMKUCS: UCS NUMl DC 24CL'1234567890' UCSCCW NUM1, (60,60,60,60) The NUM1 print buffer consists of twenty-four la-character entries.
If, after DMKUCS is reloaded, the command LOADBUF OOE UCS NUMl VER is specified, 4 lines of 60 characters (the 10-character string repeated
6 times) are printed to verify the buffer load).
218 IBM V8/370 System Programmer's Guide
Apr il 1, 1981 J: The print image can be specified in character or hexadecimal The code in DMKUCS to support the preferred character set, AN, is as follows: UCS DC
DC
DC
DC
DC
DC
DC
DC UCSCCW PCAN C
i
1234567890,-PQR#$m/STUVWIYZ'
,X'9C' C'.*1234567890,-JKLMNOABCDEFGHI+.*' C'1234567890,-PQRS&$%/STUVWXYZ',X'9C' C'.*1234567890,-JKLMNOABCDEFGHI+.*' C'1234567890,-PQR#$m/STUVWIYZ' ,X'9C' .*1234567890,-JKLMNOABCDEFGHI+.*' C'1234567890,-PQR&&$%/STUVWIYZ',X'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 (X'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 IMAGES
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 This macro creates a 12-byte header record for the buffer load that is used by the CP module, DMKCSO. The format of the UCB macro
is:
r I I UCB I ucbname L-- 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 image cannot exceed 512 characters.
The format of the UCSB is: £Q§!i.!QI! 1-432
433-447
448-511
512 Print train image.
Reserved for IBM use. Must be all zeros.
Associative field. See Figure 25 for an explanation
of the contents of this field. The associative
field is used to check (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 dualing control bits.
Reserved for IBM use. Must be zero. Part 2. Control Program (CP) 219
Previous Page Next Page