Rational Developer for System z
Enterprise PL/I for z/OS, Version 4.2, Programming Guide

CTLASA|CTL360

The printer control options CTLASA and CTL360 apply only to OUTPUT files associated with consecutive data sets. They specify that the first character of a record is to be interpreted as a control character.

Read syntax diagramSkip visual syntax diagram>>-+-CTLASA-+--------------------------------------------------><
   '-CTL360-'
 

The CTLASA option specifies American National Standard Vertical Carriage Positioning Characters or American National Standard Pocket Select Characters (Level 1). The CTL360 option specifies IBM machine-code control characters.

The American National Standard control characters, listed in Figure 30, cause the specified action to occur before the associated record is printed or punched.

The machine code control characters differ according to the type of device. The IBM machine code control characters for printers are listed in Table 18.

Figure 30. American National Standard print and card punch control characters (CTLASA)
Code
Action
 
Space 1 line before printing (blank code)
0
Space 2 lines before printing
-
Space 3 lines before printing
+
Suppress space before printing
1
Skip to channel 1
2
Skip to channel 2
3
Skip to channel 3
4
Skip to channel 4
5
Skip to channel 5
6
Skip to channel 6
7
Skip to channel 7
8
Skip to channel 8
9
Skip to channel 9
A
Skip to channel 10
B
Skip to channel 11
C
Skip to channel 12
V
Select stacker 1
W
Select stacker 2

Table 18. IBM machine code print control characters (CTL360)
Print and
Then Act
 
Code byte
 
Action
 
 
 
Act immediately
(no printing)
 
Code byte
00000001 Print only (no space) --
00001001 Space 1 line 00001011
00010001 Space 2 lines 00010011
00011001 Space 3 lines 00011011
10001001 Skip to channel 1 10001011
10010001 Skip to channel 2 10010011
10011001 Skip to channel 3 10011011
10100001 Skip to channel 4 10100011
10101001 Skip to channel 5 10101011
10110001 Skip to channel 6 10110011
10111001 Skip to channel 7 10111011
11000001 Skip to channel 8 11000011
11001001 Skip to channel 9 11001011
11010001 Skip to channel 10 11010011
11011001 Skip to channel 11 11011011
11100001 Skip to channel 12 11100011

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)