1/0 COMMAND CODES Standard Command Code Assignments (CCW bits 0-7) xxxx 0000 Invalid tttt ttOl Write
Read
Control
tttt 0100 Sense tttt ttl0 xxxx 1000 Transfer in Channel tttt ttll tttt 1100 Read Backward 0000 0011 Control No Operation x-Bit ignored_ t Modifier bit for specific type of I/O device CONSOLE PRINTERS Write, No Carrier Return
Write, Auto Carrier Return
Read Inquiry 01 Sense 09 Audible Alarm OA 04 OB
3504,3505 CARD READERS/3525 CARD PUNCH Source: GA21-9124
Command Binary Hex Bit Meanings Sense 0000 0100 04 Stacker Feed, Select Stacker SS10 FOll 00 -1-
Read Only* llDOF010 01/10 2
Diagnostic Read (invalid for 3504) 1101 0010 02 E Format Mode
Read, Feed, Select Stacker* SSDO F010 0 Unformatted
Write RCE Format* 0001 0001 11
1 Formatted
3504, 3505 only
0 Data Mode
Write OMR Format t 0011 0001 31 0 l-EBCDIC 3525 only 1 2-Card image
Write, Feed, Select Stacker SSDO 0001 L Line Position
Print Line* LLLL L101 5=bit binary value
*Special feature on 3525. tSpecial feature. PRINTERS: 3211/3811 (GA24-3543). 3203/IPA, 1403*/2821 (GA24-3312)
After Write Immed
Write without spacing 01 Space 1 Line 09 OB Sense 04 Space 2 Lines 11 13 Load UCSB without folding FB Space 3 Lines 19 1B Foldt 43 Skip to Channel ot 83 Unfoldt 23 Skip to Channel 1 89 8B Load UCSB and Fold (exc. 3211) F3 Skip to Channel 2 91 93 UCS Gate Load (14030nly) EB Skip to Channel 3 99 9B Load FCB (exc. 1403) 63 Skip to Channel 4 Al A3 Block Data Check 73 Skip to Channel 5 A9 AB Allow Data Check 7B Skip to Channel 6 Bl B3 Read PLBt 02 Skip to Channel 7 B9 BB Read UCSBt OA Skip to Channel 8 C1 C3 Read FCBt 12 Skip to Channel 9 C9 CB Diag. Check Read (exc. 3203) 06 Skip to Channel 10 Dl D3 Diagnostic Write t 05 Skip to Channel 11 D9 DB Raise Covert 6B Ski to Channel 12 El E3 Diagnostic Gate t 07 Adv. to End of Sheet (3203 only) 5B Diagnostic Read (1403 only) 02 * UCS special feature; I PA diagnostics are model-dependent. t3211 only_ 3420/3803,3410/3411 MAGNETIC TAPE (* * Indicates 3420 only)
See GA32-0020 -0021 -0022 for special features and functions of specific models
Density Parity DC Trans Cmd
Write 01 { f" off
13
Read Forward 02 odd off { off 33
Read Backward OC 200 on 3B Sense 04 even off { 23 CJ Sense Reserve* * F4 2B
Sense Release** 04 t: { {"" off
53
Request Track-in-Error lB ... odcl off { off 73
Loop Write-to-Read* * 8B Q;-< 556 on 7B Set Diagnose** 4B en even off { off
63 CIl Rewind 07 "0 6B 0 { {"" Rewind Unload OF 93
Erase Gap 17
odd off { off B3
Write Tape Mark 1F 800 on BB
Backspace Block 27
even off { off
A3
Backspace File 2F on AB
Forward Space Block 37
Forward Space File 3F Mode Set 2 (9-track). 800 bpi CB
Data Security Erase ** 97 Mode Set 2 (9-track), 1600 bpi C3
Diagnostic Mode Set ** OB Mode Set 2 (9-track). 6250 bpi * * D3
DIRECT ACCESS STORAGE DEVICES 3330·3340-3350 SERIES (GA26-1592, -1617, -1619. -1620, -1638);
2305/2835 (GA26-1589); 2314, 2319 (GA26-3599, -1606) ® See systems reference manuals for restrictions. Command MTOff MT On* Count Control Orient (c) 2B Nonzero
Recalibrate 13 Nonzero Seek 07 6 Seek Cylinder OB 6 Seek Head 1B 6 Space Count OF 3 (a); nonzero (dl Set File Mask 1F 1 Set Sector (a,t) 23 1
Restore (executes as a no-op) 17 Nonzero
Vary Sensing (c) 27 1
Diagnostic Load (a) 53 1
Diagnostic Write (a) 73 512 Search Home Address Equal 39 B9 4 Identifier Equal 31 B1 5 Identifier High 51 01 5 Identifier Equal or High 71 F1 5
Key Equal 29 A9 KL
Key High 49 C9 KL
Key Equal or High 69 E9 Key and Data Equal (d) 20 AD
Key and Data High (d) 40 CD Number
Key and Data Eq. or Hi (d) 60 ED of bytes Continue Search Equal (d) 25 A5 > (including Scan Search High (d) 45 C5 mask bytes) Search High or Equal (d) 65 E5
in search Set Compare (d) 35 B5
argument Set Compare (d) 75 F5
No Compare (d) 55 05 - Read Home Address 1A 9A 5 Count 12 92 8
Record 0 16 96
}
Number
Data 06 86
of bytes
Key and Data OE 8E
to be Count, Key and Data 1E 9E
transferred IPL 02 Multiple Count, Key, Data (b) 5E > Max. track len.
Sector (a,f) 22 1 Sense Sense I/O 04 24 (a); 6 (d)
Sense I/O Type (b) E4 7
Read, Reset Buffered Log (b) A4 24
Read Buffered Log (c) 24 128
Device Release (e) 94 24 (a); 6 (d)
Device Reserve (e) B4 24 (a); 6 (d)
Read Diagnostic Status 1 (a) 44 16 or 512
Write Home Address 19 5,7, or 11
Record 0 15 8+KL+DL of RO Erase 11 8+KL+DL Count, Key and Data 10 8+KL+DL Special Count, Key and Data 01 8+KL+DL
Data 05 DL
Key and Data 00 KL+DL
* Code same as MT Off except as listed. d. 2314,2319 only.
a. Except 2314,2319. e. String switch or 2-channel switch
b. 3330·3340-3350 series only. required.
c. 2305/2835 only. f. Special feature required on 3340. Printed in U.S.A. International Business Machines Corporation
Data Processing Division
1133 Westchester Avenue, White Plains, N.V. 10604 IBM World Trade Americas/Far East Corporation GX20-1850-3 Town of Mount Pleasant, Route 9, North Tarrytown, N.V., U.S.A. 10591 IBM World Trade Europe/Middle East/Africa Corporation
360 Hamilton Avenue, White Plains, N.V., U.S.A. 10601
CODE TRANSLATION TABLE
Instruction Graph ics and Controls
Dec. Hex (RR) BCOIC EBCOIC( 1) ASCII o 00 NUL
I 01 SOH 2 02 STX 3 03 ETX
4 04 SPM PF 5 05 BAlR HT
6 06 BCTR lC 7 07 BCR DEL
8 08 SSK GE
9 09 15K RlF 10 OA SVC SMM II OB VT
12 OC FF
13 00 CR 14 OE MVCl SO 15 OF ClCl 51 16 10 lPR OLE 17 11 lNR DCl
18 12 lTR DC2
19 13 lCR TM
20 14 NR RES 21 15 ClR Nl
22 16 OR BS 23 17 XR Il 24 18 lR CAN
25 19 CR EM
26 IA AR CC 27 lB SR CUI
28 lC MR IFS 29 10 DR IGS 30 IE AlR IRS 31 IF SlR IUS 32 20 lPDR OS 33 21 lNDR SOS 34 22 lTDR FS 35 23 lCDR
36 24 HOR BYP 37 25 lRDR IF
38 26 MXR ETB
39 27 MXDR ESC 40 28 LOR
41 29 COR 42 2A ADR SM 43 2B SOR CU2
44 2C MDR
45 20 ODR ENQ
46 2E AWR ACK
47 2F SWR BEL
48 30 lPER
49 31 lNER
50 32 lTER SYN 51 33 lCER
52 34 HER PN 53 35 lRER RS 54 36 AXR UC 55 37 SXR EDT
56 38 LER
57 39 CER
58 3A AER
59 3B SER CU3
60 3C MER DC4
61 3D DER NAK
62 3E AUR
63 3F SUR SUB I. Two columns of EBCDIC graphics
are shown. The first gives IBM standard U.S. bit pattern assign­
ments. The second shows the T-Il
and TN text printing chains (120 graphics).
2. Add C
(check bit) for Odd or even
parity as needed, except as noted.
3. For even parity use CA.
NUL SOH STX ETX EOT ENQ
ACK
BEL BS HT
IF
VT
FF CR SO 51 OLE DCI
DC2
DC3
DC4
NAK SYN ETB
CAN
EM SUB ESC FS GS RS US SP I ! " * $ % & I (
)
.
+
-
I 0 1
2
3
4
5
6
7
8
9
:
< . >
?
7-Track Tape Card Code BCOIC(2) EBCDIC Binary
12-0-1-8-9 0000 0000 12-1-9 0000 0001 12-2-9 0000 0010 12-3-9 0000 OOIl 12-4-9 r 0000 0J{1O 12-5-9 0000 0101 12-6-9 0000 OllO 12-7-9 0000 01II 12-8-9 0000 1000 12-1-8-9 0000 1001 12-2-8-9 0000 1010 12-3-8-9 0000 lOll 12-4-8-9 0000 llOO 12-5-8-9 0000 llOI 12-6-8-9 0000 lllO 12-7-8-9 0000 llll
12-ll-1-8-9 00010000 11-1-9 00010001 11-2-9 00010010 11-3-9 oool0011 11-4-9 00010100 11-5-9 00010101 11-6-9 0001 OlIO 11-7-9 0001 o III 11-8-9 00011000 11-1-8-9 00011001 11-2-8-9 0001 1010 11-3-8-9 OOO} lOll 11-4-8-9 ooolIlOO
11-5-8-9 oool1101 11-6-8-9 0001 lllO 11-7-8-9 0001 III I
1l-o-1-8-9 00100000 0-1-9 00100001 0-2-9 00100010 0-3-9 0010 00 II 0-4-9 00100100 0-5-9 00100101 0-6-9 0010 OlIO 0-7-9 0010 o III 0-8-9 00101000 0-1-8-9 0010 1001 0-2-8-9 00101010 0-3-8-9 0010 lOll 0-4-8-9 0010 IlOO 0-5-8-9 0010 IlOl 0-6-8-9 0010 1Il0 0-7-8-9 0010 IIll 12-ll-0-1-8-9 OOll 0000 1-9 OOIl 0001 2-9 OOIl 0010 3-9 001l 001l 4-9 001l 0100 5-9 001l 0101 6-9 001l OIlO 7-9 0011 OIll 8-9 OOlllooo 1-8-9 001l100} 2-8-9 OOIl 1010 3-8-9 001l10n 4-8-9 001l1l00 5-8-9 001l1l0} 6-8-9 001l1Il0 7-8-9 .001IIlll TWO-CHARACTER SSC DATA LINK CONTROLS ACK-O ACK-1 WACK RVI OLE,X'70' OLE,O OLE,X'S1' OLE,1 OLE,X'SS' OLE, ; OLE,X'7C' OLE,<
CODE TRANSLATION TABLE (Contd) Instruction Graphics and Controls 7-Track Tape Card Code
Dec. Hex IRX} BCOIC EBCOIC(I} ASCII BCOIC(2) EBCOIC Binary
64 40 STH Sp Sp @ (3) no punches 0100 0000 65 41 LA A 12-0-1-9 0100 0001 66 42 STC B 12-0-2-9 0100 0010 67 43 IC C 12-0-3-9 0100 OOU 68 44 EX 0 12-0-4-9 0100 0100 69 45 BAL E 12-0-5-9 0100 0101 70 46 BCT F 12-0-6-9 0100 OUO 71 47 BC G 12-0-7-9 0100 om
72 48 LH H 12-0-8-9 0100 1000 73 49 CH I 12-1-8 0100 1001 74 4A AH t 4 J 12-2-8 0100 1010 75 4B SH K B A 8 21 12-3-8 0100 IOU 76 4C MH tI) < < L B A 84 12-4-8 0100 UOO 77 40 [ 1 1 M B A 84 I 12-5-8 0100 lIOI 78 4E CVO < + + N
B A842 12-6-8 0100 mo
79 4F CVB * I I 0 B A 84 21 12-7-8 0100 ml
80 50 ST &+ & & P BA 12 01010000 81 51 Q 12-11-1-9 01010001 82 52 R 12-U-2-9 01010010 83 53 S 12-U-3-9 010100U 84 54 N
T 12-11-4-9 01010100 85 55 CL U 12-11-5-9 01010101 86 56 0 V 12-lI-6-9 01010UO 87 57 X W 12-11-7-9 0101 om
88 58 L X 12-U-8-9 01011000 89 59 C Y 11-1-8 01011001 90 5A A ! ! Z 11-2-8 01011010 91 5B S $ $ $ [ B 8 21 11-3-8 0101 IOU 92 5C M . . .
\ B 84 11-4-8 01011100 93 50 0 ] } } ] B 84 1 11-5-8 0101UOI 94 5E AL ; ; -. " B 842 11-6-8 01OImo 95 5F SL t:. -. ......,
- B 8421 11-7-8 0101 lI11
96 60 S10 - - - , B 11 01100000 97 61 I I I a A 1 0-1 01100001 98 62 b 11-0-2-9 OUO 0010 99 63 c U-o-3-9 OUO OOU 100 64 d U-o-4-9 OUO 0100 101 65 e 11-0-5-9 OUO 0101 102 66 f U-o-6-9 OUO OUO 103 67 MXO Q U-o-7-9 OUO om 104 68 LD h 11-0-8-9 OUOl000 105 69 CO i 0-1-8 OUO 1001 106 6A AO I j 12-U 01101010 I 107 6B SO k A 8 21 0-3-8 0110 IOU 108 6C MD %1 % % I A84 0-4-8 OUO UOO 109 60 00 V :> - m A 84 1 0+8 0110 lIOI 110 6E AW \ > n A 84 2 0-6-8 0110 mo
m 6F SW lit ? ? 0 A 84 21 0-7-8 0110 U11 U2 70 STE P 12-11-o om 0000 II3 71 q 12-11-0-1-9 om 0001 114 72 r 12"ll-o-2-9 om 0010 115 73 s 12-11-0-3-9 om 001l 116 74 t 12-11-0-4-9 Olll 0100 117 75 u 12-11-0-5-9 Olll 0101 118 76 v 12-11-0-6-9 Olll 0110 119 77 w 12-11-0-7-9 omOlll 120 78 LE x 12-11-0-8-9 OllllOOO 121 79 CE \
Y 1-8 Ollll001 122 7A AE 11 : : Z A 2-8 01111010 123 7B SE , . , ,
{ 8 21 3-8 Olll10U 124 7C ME @' @ @ I 84 4-8 omuoo
125 70 OE : I I } 84 1 5-8 01ll1l01 126 7E AU > . . - 842 6-8 ommo
127 7F SU .r " " DEL 8421 7-8 OllIllll
Previous Page Next Page