This section shows two examples of uses of the CME command.
Example 1 CME parameters specified in standard form:
CME12: CME LINE=47, POS=1, FONT=5,
CONSTANT=(5)’*’, LINE=48,
POSITION=1, FONT=1; LINE=49,
POS=10, CONSTANT=’ABCD’;
CME parameters specified in short form:
CME12: CME L47, P1, F5,(5)’*’, L48, P1,
F1, L49, P10, C’ABCD’;
or
CME12: CME
L47P1F5(5)’*’L48P1F1L49P10’ABCD’;
Example 2 The following is an example of copy sensitive CMEs.
Note: Although copy sensitive CMEs are not supported for online
printing, they can be created on the DP180 EPS system for use on other printing systems.
In addition, copy sensitive CMEs are not supported when COLLATE=NO is specified in the OUTPUT command.
CME1: CME
LINE=3, POS=59,
CONSTANT=’FIRST QUARTER’; CME2: CME
LINE=(37,3), POS=81, CONSTANT=(6)’*’;
CME3: CME
LINE=(1,60), POS=5,
FONT=2, POS=12, FONT=1; OUTPUT
COPIES=3, MODIFY=(CME1,1,1),
MODIFY=(CME2,2,1), MODIFY=(CME3,3,1);
For the first copy of the report, line 3 is modified by the text 'FIRST QUARTER'. For the second copy, the character '*' is inserted in lines 37, 38, and 39 for 6 character positions (starting in column 81). For copy 3, fonts are changed for lines 1 to 60 at character positions 5 and 12. These fonts must be defined in the FONTS parameter of the PDE command.LINE
The LINE command provides parameters that define the characteristics of the user portion of the input data record and specify how it is to be printed.
The following table summarizes the LINE command parameters.
The following sections describe the syntax of the command parameters and explanation parameter options.
DATA
Specifies the location and length of the print line data within an input data record.
Syntax LINE DATA = (pdo, length)
Options
Table 2-96. Summary of LINE command parameters
Parameter Specifies DJDE
DATA Defines the portion of the input record that is printable data.
Y
FCB Specifies whether to suppress or process the forms control buffer that is transmitted from the host.
N
FONTINDEX Specifies that a field within a logical record defines the index to a specific font to be used for that line.
Y
MARGIN Defines the size of the left margin on a physical page
Y
OVERPRINT Specifies the manner in which overprint lines are handled.
Y
PCC Specifies the location of the printer carriage control field.
N
PCCTYPE Specifies a set of printer carriage control codes that will be used for a job.
N
UCSB Accepts or suppresses the Universal Character Set Buffer transmitted by the host.
Y
VFU Specifies a vertical format unit table that will be used for a job.
N
Table 2-97. DATA parameter options and definitions
Option Definition
pdo print data offset.
Number of bytes between the start of the user portion of the logical record and the first character of the record to be printed.
Default (0, 150) for online systems
FCB
Specifies whether to suppress or to process host transmitted forms control buffers (FCB).
Syntax LINE FCB = {IGNORE | PROCESS}
Options
Default PROCESS
LINE FCB parameter: points to note • If you specify FCB=PROCESS, an FCB load causes positioning to TOF. If the system is already at TOF, page eject does not occur. However, if the line number before the FCB load is greater than TOF, a page eject occurs.
• If you specify FCB=PROCESS and an FCB is sent from the host, the later FCB overrides the previous FCB or VFU. Its length replaces the previous BOF. Furthermore, its contents and length are saved on the disk.
• If no Bottom Of Form is specified in the JDE, the length of the last FCB sent from the host is retrieved from the disk and becomes BOF. Note that Top of FORM (TOF) is not affected by the FCB.
• The print position indexing (PPI) byte of the FCB is suppressed.
FONTINDEX
Specifies that a field within a logical record defines the index to a specific font to be used for that line. If FONTINDEX is not specified, no index is used.
Syntax LINE FONTINDEX = {offset | (offset [, initval [, bitopt]]) | NONE}
Options
Table 2-98. FCB parameter options and definitions
Option Definition
IGNORE Suppresses the processing of the host transmitted forms control buffer (FCB). PROCESS Accepts FCB processing. The VFU parameter defines the vertical positioning
control table if the FCB is ignored. For online systems only.
Table 2-99. FONTINDEX parameter options and definitions
Option Definition
offset Specifies the byte offset in the data record where the character that is to be used as a font index number is located.
(Refer to “LINE OVERPRINT parameter: points to note“ for discussion of FONTINDEX usage with overprint lines and maximum number of fonts, and the
Default NONE
LINE FONTINDEX parameter: points to note
• When the bitopt option is specified, the initval must also be specified.
• If the initval is ONE or is not specified, the value of the font index byte in the data record is a number in the range 1 to n, where n
is the number of fonts specified in the PDE parameter (1 to 128). If ZERO is specified, the font index is a number in the range 0 to n, where n is the number of fonts specified in the PDE parameter minus one (0 to 127). The font index value must be present in every record. If the FONTINDEX in the data record is greater than the number of fonts specified, the first font in the list is used.
• If the FONTINDEX feature is specified, the font index byte is processed for every printed record, and for DJDEs where the IDEN DJPCC parameter causes such processing. A valid FONTINDEX byte should be present in all such records, because it controls line spacing and OVERRIDE line spacing at page transitions.
If the offset to the font index value exceeds the logical record size, the first font in the font list is used.
MARGIN
Specifies the left printing margin within each logical page.
Syntax LINE MARGIN = {value | (value, valuetype)}
initval initial value.
Index number associated with the first font in the font list (i.e., the number the font list starts with). This value can be one of the following:
• ONE specifies that an index value of 1 is associated with the first font in the font list.
• ZERO specifies that an index value of 0 is associated with the first font in the font list, an index value of 1 is associated with the second font in the font list, and so forth.
The default for the initial font index value is ONE.
bitopt bit option
A number specifying the number of low order bits within the font index byte, which, in turn, specifies an index value into the font list of the current PDE. The
bitopt value may be 1 through 7. The default bitopt value is 4. NONE Specifies that there is no font index.
Table 2-99. FONTINDEX parameter options and definitions
Options
Default (1, POS)
LINE MARGIN parameter: point to note A value must be specified as an integer (nnn) if its valuetype is character positions (POS).