ISO/IEC 9318-4:1990
(Main)Information technology — Intelligent Peripheral Interface — Part 4: Device generic command set for magnetic tape drives
Information technology — Intelligent Peripheral Interface — Part 4: Device generic command set for magnetic tape drives
La présente partie de l'ISO/CEI 9318 décrit l'interface de niveau logique 3 (niveau générique) pour les unités de bandes magnétiques. Voir l'article 6 de l'ISO/CEI 9318-1 pour une explication des niveaux. Les caractéristiques physiques, électriques et celles de la configuration ainsi que les protocoles de transmission de cette interface sont conformes à l'ISO/CEI 9318-1. L'interface est capable de gérer les vitesses de transfert de données de 0 à 10 Moctets/s, en fonction de la classe du contrôleur et du récepteur. L'objet de la présente partie de l'ISO/CEI 9318 est de faciliter le développement et l'utilisation d'une interface intelligente qui permet la connexion à un contrôleur de périphériques de plusieurs types tels que disques, imprimantes, bandes, communications. La présente partie de l'ISO/CEI 9318 ne remplace pas des normes existantes mais apporte un complément aux autres normes d'interface pour périphériques intelligents (IPI) (voir article 2). La présente partie de l'ISO/CEI 9318 fournit une définition d'une partie générique appareil, d'une famille de normes appelées «interface pour périphériques intelligents (IPI)», interface parallèle tous usages, à hautes performances. L'intention de IPI est d'isoler l'hôte (CPR), autant du point de vue matériel que logiciel, des changements dans les périphériques, en fournissant un jeu de commandes de «fonctions géné 1585riques» permettant le connexion de multiples types de périphériques (disques, imprimantes, bandes, communications). Pour assouplir la transition entre la méthode actuelle et l'approche générique, IPI supporte des jeux de commandes spécifiques à un appareil, comme celui-ci, pour aider à établir une passerelle entre les deux approches. Pour réaliser cet ensemble d'objectifs, la définition de IPI inclut des jeux de commandes spécifiques appareil et génériques appareil, utilisant tous les deux le même bus commun. Le jeu de commandes spécifiques appareil fournit : des co
Technologies de l'information — Interface pour les périphériques intelligents — Partie 4: Jeu de commandes génériques pour les unités de bandes magnétiques
General Information
Relations
Standards Content (Sample)
INTERNATIONAL
lSO/IEC
STANDARD
9318-4
First edition
1990-12-15
Information technology - Intelligent Peripheral
Interface
Part 4:
Device generic command set for magnetic tape drives
Technologies de I ‘in formation - Interface pour les p&iph&iques in telligen ts -
Partie 4: Jeu de commandes g&Griques pour les unit& de bandes magn&iques
Reference number
ISO/IEC 9318-4 : 1990 (E)
---------------------- Page: 1 ----------------------
ISO/IEC 9318-4 : 1990 (E)
Contents
Page
.
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ix
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
x
1 scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Normative references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3 Definitions and Conventions .
....................... 3
3.1 Definitions . 3
3.2 Conventions . 4
4 Logical interface characteristics of the tape . 5
4.1 PhysicalBlocks (4.4.1 of ISO/IEC 9318-3) . 5
4.2 DataBlocks (4.4.2 of ISO/IEC 9318-3) . 5
4.3 Extents (4.4.3 of ISO/IEC 9318-3) . 5
4.4 Partitions (4.4.4 of ISO/IEC 9318-3) . 6
4.5 Alternate data areas (4.4.5 of ISO/IEC 9318-3) . 6
4.6 Partition parameters (4.6.7 of ISO/IEC 9318-3) . 6
4.7 Block numbering . 7
4.8 Data buffer operation . 7
8
4.9 Positioning .
8
4.9.1 Mount or rewind .
8
4.9.2 Partition transition .
4.9.3 Normal data operation completion . 8
4.9.4 Abnormal data operation completion . 8
4.9.5 Normal position operation completion . 8
4.9.6 Abnormal position operation completion . 8
4.9.7 Tape mark detected . 8
4.9.8 BOM detected (reverse operations) . 9
4.9.9 EMW detected . 9
4.9.10 PEOM detected . 9
4.10 Command usage . 9
5 Message packet structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6 Control commands . 11
6.1 NOP . 11
6.2 FACILITY OPERATION . 11
6.3 ATTRIBUTES 11
6.3.1 ComrnandPackk;:::::::::::::::::::::::::::::::::::::::::::::::: 11
6.3.2 Response Packet 11
................................................
6.3.3 Description 11
....................................................
6.3.4 Parameters. . 13
6.3.4.1 Parameters 3A, 3E, 50. . 14
6.3.4.2 Parameters 51-58 . 14
6.3.4.2.1 Size of tape datablocks parameter . 14
0 ISO/IEC 1990
All rights reserved. No part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission
in writing from the publisher.
ISO/IEC Copyright Office l Case postale 56 l CH-1211 Geneve 20 l Switzerland
Printed in Switzerland
Device Generic Command Set for Magnetic Tape Drives
---------------------- Page: 2 ----------------------
ISO/IEC 931%4 :1990 (E)
6.3.4.2.2 Size of tape physicalblocks parameter . 14
6.3.4.2.3 Variable datablock sizes supported parameter .
14
..............
6.3.4.2.4 Variable PhysicalBlock sizes supported parameter 15
6.3.4.2.5 Fixed DataBlock size(s) supported parameter .
15
6.3.4.2.6 Fixed PhysicalBlock size(s) supported parameter .
15
6.3.4.3 Parameters 59-5A . 15
6.3.4.4 Parameters 5B-5D . 16
6.3.4.5 Parameter 5E - Multi-port characteristics . 16
6.3.4.6 Parameter 61 - Transfer rate . 16
6.3.4.7 Parameters 64-65 . 16
6.3.4.7.1 Physical interface attributes parameter . 16
6.3.4.7.2 Addressee configuration parameter . 17
6.3.4.8 Parameter 66 - Slave configuration (bit significant) . 17
.............................
6.3.4.9 Parameter 67 - Slave configuration (fields) 17
6.3.4.10 Parameter 68 - Facilities attached to slave .
17
6.3.4.11 Parameters 69-6A . 17
6.3.4.11.1 Parameter 69 . 17
6.3.4.11.2 Command supported parameter . 17
6.3.4.12 Parameter 6B - Masks of octets supported . 18
6.3.4.13 Parameters 6C-6D . 18
6.3.4.13.1 Request parm parameter . 18
6.3.4.13.2 Parm Length parameter . 18
6.3.4.14 Parameter 6E - Slave reconfiguration (bit significant) . 18
6.3.4.15 Parameter 6F - Slave reconfiguration (fields) . 18
6.3.4.16 Parameters 70-71 . 18
6.3.4.16.1 Size of data buffer blocks parameter . 19
6.3.4.16.2 Data buffer block size supported parameter . 19
6.3.4.17 Parameter 72 - Tape characteristics (bit significant) . 19
6.3.4.18 Parameter 73 - Tape characteristics (fields) . 22
6.3.4.19 Parameters 74 and 75 . 23
6.3.4.19.1 Current tape configuration (bit significant) . 23
6.3.4.19.2 Current tape configuration (fields) . 23
6.3.4.20 Parameters 76-79 . 24
6.3.4.20.1 Block numbering parameter . 24
6.3.4.20.2 Encryption parameter . 24
6.3.4.20.3 Translation Table parameter . 25
6.3.4.20.4 Translation parameter . 25
26
6.4 REPORT ADDRESSEE STATUS .
6.4.1 Command packet . 26
6.4.2 Response packet 26
................................................
6.4.3 Description . 26
26
6.4.4 Parameters 50-53 .
27
6.4.4.1 Port mask parameter .
6.4.4.2 Condition parameter . 27
6.4.4.3 Media status . 27
27
6.4.4.4 Vendor unique status .
6.5 PORT ADDRESS . 28
6.6 PATH CONTROL 28
6.7 ATTENTION CON+&’ : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 28
6.8 OPERATING MODE . 28
6.8.1 Command packet . 28
6.8.2 Response packet 28
................................................
6.8.3 Description . 28
6.8.4 Parameters 3E, 50, 53, 54 . 29
6.8.4.1 Partition (common) parameter . 29
6.8.4.2 Response conditions parameter . 29
29
6.8.4.3 Tape modes (bit significant) parameter .
6.8.4.4 Parameter 53 - Tape modes (fields) . 30
6.8.4.5 Operating mode parameter 54 - Data operation . 32
6.9 ABORT . 32
6.10 ACCESS PERMITS . 32
6.11 RESUME . 32
6.12 PORT RESPONSE . 32
6.13 ANTICIPATED ACTION . 33
6.14 OPERATOR DISPLAY . 33
. . .
111
Device Generic Command Set for Magnetic Tape Drives
---------------------- Page: 3 ----------------------
ISO/IEC 9318-4 :1990 (E)
34
.................................................
7 Position commands
....................................... 34
7.1 SPACE BLOCK/FILE MARK
................................................ 34
7.1.1 Command packet
................................................ 34
7.1.2 Response packet
34
....................................................
7.1.3 Description
35
.............................................
7.1.4 Parameters 31,32,35
............................... 35
7.1.4.1 Command extent (common) parameter
................................ 36
7.1.4.2 Response extent (common) parameter
................................... 36
7.1.4.3 Access key (Common) Parameter
............................................ 36
7.2 POSITION CONTROL
................................................ 36
7.2.1 Command packet
36
................................................
7.2.2 Response packet
36
....................................................
7.2.3 Description
............................... 37
7.2.4 Parameters 31, 32, 35, 3A, 3E, 51, 52, 53
............................... 37
7.2.4.1 Command extent (common) parameter
................................ 37
7.2.4.2 Response extent (common) parameter
................................... 37
7.2.4.3 Access key (Common) Parameter
................... 37
.............. ;
7.2.4.4 Data address (common) parameter
37
.....................................
7.2.4.5 Partition (common) parameter
..........................................
38
7.2.4.6 Tape position parameter
39
..................................
7.2.4.7 Cartridge source address parameter
............................... 39
7.2.4.8 Cartridge destination address parameter
39
..............................................
7.3 REPORT POSITION
39
................................................
7.3.1 Command packet
................................................ 39
7.3.2 Response packet
39
....................................................
7.3.3 Description
.................................... 40
7.3.4 Parameters 32, 35, 3A, 3E, 51-52
................................ 40
7.3.4.1 Response extent (common) parameter
................................... 40
7.3.4.2 Access key (Common) Parameter
.................................. 40
7.3.4.3 Data address (common) parameter
..................................... 40
7.3.4.4 Partition (common) parameter
.............................................. 41
7.3.4.5 Extended position
................................................ 41
7.3.4.6 Media Position
............................................. 41
7.4 RECORD POSITION
41
................................................
7.4.1 Command packet
................................................ 42
7.4.2 Response packet
.................................................... 42
7.4.3 Description
.......................................... 42
7.4.4 Parameters 31, 32, 35, 51
....................................... 42
7.4.4.1 Command extent parameter
........................................ 42
7.4.4.2 Response extent parameter
................................... 43
7.4.4.3 Access key (Common) Parameter
........................................... 43
7.4.4.4 Tape mark parameter
43
7.5 Reserved .
44
.................................................
8 Transfer commands
44
8.1 READ .
44
................................................
8.1-l Command packet
................................................ 44
8.1.2 Response packet
.................................................... 44
8.1.3 Description
45
..................................
8.1.4 Parameters 31-32, 3A, 35, 3E, 51, 52
............................... 45
8.1.4.1 Command extent (common) parameter
45
................................
8.1.4.2 Response extent (common) parameter
45
...................................
8.1.4.3 Access key (Common) Parameter
45
..................................
8.1.4.4 Data address (common) parameter
..................................... 46
8.1.4.5 Transfer (common) parameter
..................................... 46
8.1.4.6 Partition (common) parameter
.......................... 46
8.1.4.7 Information Transfer Size Override Parameter
.............................. 46
8.1.4.8 Master termination permitted parameter
47
..............................................
8.2 READ RAW DATA
................................................ 47
8.2.1 Command packet
47
................................................
8.2.2 Response packet
47
....................................................
8.2.3 Description
.................................... 47
8.2.4 Parameters 31, 32, 35, 3A, 3C, 3E
47
...............................
8.2.4.1 Command extent (common) parameter
................................ 48
8.2.4.2 Response extent (common) parameter
48
....................................
8.2.4.3 Access key (Common) Parameter
Device Generic Command Set for Magnetic Tape Drives
iv
---------------------- Page: 4 ----------------------
ISO/IEC 9318-4 :1990 (E)
8.2.4.4 Data address (common) parameter
.................................. 48
8.2.4.5 Transfer (common) parameter
..................................... 48
8.2.4.6 Partition (common) parameter
..................................... 48
8.3 Reserved. .
48
8.4 SEARCH
...................................................... 48
8.5 WRITE .
48
8.5.1 Command packet . 49
8.5.2 Response packet
................................................ 49
8.5.3 Description
.................................................... 49
8.5.4 Parameters 31-32, 35, 3A, 3C, 3E, 51, 52
............................... 50
8.5.4.1 Command extent (common) parameter
............................... 50
8.5.4.2 Response extent (common) parameter
................................ 50
8.5.4.3 Access key (Common) Parameter
................................... 50
8.5.4.4 Data address (common) parameter
.................................. 50
8.5.4.5 Transfer (common) parameter . 50
8.5.4.6 Partition (common) parameter
..................................... 50
8.5.4.7 Information transfer size override parameter
........................... 50
8.5.4.8 Master termination permitted parameter
.............................. 51
8.6 WRITE PATTERN
............................................... 52
8.7 Reserved. .
52
9 Combination commands
............................................. 53
9.1 COPY .
53
9.2 COMPARE SLAVE DATA
......................................... 53
9.3 COMPARE DATA
............................................... 53
9.4 Reserved.
.....................................................
53
9.5 Reserved. .
53
9.6 SHADOW READ .
53
9.7 SHADOW WRITE .
53
9.8 SHADOW RESTORE
............................................. 53
10 Other transfer commands
........................................... 54
10.1 READVERIFY
................................................ 54
10.1.1 Command packet
............................................... 54
10.1.2 Response packet
............................................... 54
10.1.3 Description
................................................... 54
10.1.4 Parameters 31, 32, 35, 3A, 3C, 3E
...................................
55
10.1.4.1 Command extent (common) parameter
.............................. 55
10.1.4.2 Response extent (common) parameter
............................... 55
10.1.4.3 Access key (Common) Parameter
.................................. 55
10.1.4.4 Data address (common) parameter
.................................
55
10.1.4.5 Transfer (common) parameter
....................................
55
10.1.4.6 Partition (common) parameter
.................................... 56
10.2 Reserved .
56
10.3 READ FROM BUFFER
.......................................... 56
10.3.1 Command packet
............................................... 56
10.3.2 Response Packet.
............................................... 56
10.3.3 Description
................................................... 56
10.3.4 Parameters 31, 32, 35, 3A, 3E, 50
................................... 57
10.3.4.1 Command extent (common) parameter
.............................. 58
10.3.4.2 Response extent (common) parameter
............................... 58
10.3.4.3 Access key (Common) Parameter
.................................. 58
10.3.4.4 Data address (common) parameter
................................. 58
10.3.4.5 Partition (common) parameter
.................................... 58
10.3.4.6 Buffer address parameter
........................................ 58
10.4 READ FACILITY DATA TO BUFFER 58
...............................
10.5 READ PHYSICAL DATA AND ECC
................................ 58
10.6 READ PHYSICAL HEADER
...................................... 58
10.7 READ IPL .
59
10.7.1 Command packet
............................................... 59
10.7.2 Response packet
............................................... 59
10.7.3 Description
................................................... 59
10.8 READ PHYSICAL HEADER AND ECC
.............................. 59
10.9 WRITE TO BUFFER
............................................ 59
10.10 WRITE BUFFER TO FACILITY
................................... 59
10.11 WRITE PHYSICAL DATA AND ECC
............................... 60
Device Generic Command Set for Magnetic Tape Drives
V
---------------------- Page: 5 ----------------------
ISO/IEC 9318-4 : 1990 (E)
10.12 WRITE PHYSICAL HEADER . 60
10.13 LOAD SLAVI!! IML . 60
60
10.14 ERASE .
10.14.1 Command packet . 60
10.14.2 Response Packet. . 60
60
10.14.3 Description .
61
10.14.4 Parameters 31, 32, 35, 3A, 3E .
61
10.14.4.1 Command extent (common) parameter .
61
10.14.4.2 Response extent (common) parameter .
10.14.4.3 Access key (Common) Parameter . . 61
10.14.4.4 Data address (common) parameter . 61
10.14.4.5 Partition (common) parameter . . . 61
10.15 WRITE PHYSICAL HEADER AND -ii&i l : : : : : : : : : : : : : : : : : : : : : : : : : : : : 62
11 Diagnostic Commands . . . . . . . . . . . . . . . 63
11.1 PERFORM SLAVE DIAGNOSTICS . . 63
11.2 PERFORM FACILITY DIAGNOSTICS . 63
11.3 Reserved . 63
11.4 Reserved . 63
64
11.5 READ ERROR LOG .
64
11.5.1 Command Packet .
64
11.5.2 Response Packet .
11.5.3 Description . 64
11.6 WRITE ERROR LOG . 65
65
11.7 DIAGNOSTIC CONTROL .
12 Command summary . 66
12.1 Control commands 66
...............................................
67
12.2 Position commands .
12.3 Transfer commands 67
...............................................
12.4 Combination commands . 68
12.5 Other transfer commands . 69
12.6 Diagnostic commands . 70
71
AnnexA .
A.1 Interface levels 71
..................................................
A.2 Concepts . 71
A-2.1 Relationship of master, slave, and facility . 71
A.2.2 Relationship of facilities and partitions . 72
A.2.3 Command structure . 72
A.3 Application environments . 72
A-3.1 Control of facilities by the master . 72
A.3.2 Shared Control of Facilities . 73
A.3.3 Control of Facilities by the Slave . 73
AnnexB . 74
B.l Informative references 74
.............................................
B.2 Equivalent ANSI standards . 74
Device Generic Command Set for Magnetic Tape Drives
vi
---------------------- Page: 6 ----------------------
ISO/IEC 9318-4 : 1990 (E)
Figures
Page
Figure 1 - Command packet for attributes . 11
...................................
Figure 2 - Response packet for attributes 11
......................... 26
Figure 3 - Command packet for report addressee status
.........................
Figure 4 - Response packet for report addressee status 26
.............................. 28
Figure 5 - Command packet for operating mode
Figure 6 - Response packet for operating mode . 28
Figure 7 - Command packet for space block/file mark . 34
........................... 34
Figure 8 - Response packet for space block/file mark
.............................. 36
Figure 9 - Command packet for position control
.............................. 36
Figure 10 - Response packet for position control
Figure 11 - Command packet for report position . 39
Figure 12 - Response packet for report position . 39
.............................. 41
Figure 13 - Command packet for record position
Figure 14 - Response packet for record position . 42
15 - Command packet for read . . . . . . . . 44
Figure
.............................. 44
Figure 16 - Response packet for read . . . . . . . .
.............................. 47
Figure 17 - Command packet for read raw data
.............................. 47
Figure 18 - Response packet for read raw data .
.............................. 49
Figure 19 - Command packet for write . . . . . . .
Figure 20 - Response packet for write . . . . . . . . 49
.............................. 54
Figure 21 - Command packet for read verify . . .
54
Figure 22 - Response packet for read verify . . . .
............................ 56
Figure 23 - Command packet for read from buffer
............................. 56
Figure 24 - Response packet for read from buffer
Figure 25 - Command Packet for read ipl . 59
Figure 26 - Response packet for read ipl . 59
Figure 27 - Command packet for erase . 60
..................................... 60
Figure 28 - Response packet for erase
Figure 29 - Command packet for read error log . 64
............................... 64
Figure 30 - Response packet for read error log
vii
Device Generic Command Set for Magnetic Tape Drives
---------------------- Page: 7 ----------------------
ISO/IEC 9318-4 :1990 (E)
Tables
Page
Table 1 - Attributes parameters 3A, 3E, 50
.................................. 14
Table 2 - Attributes parameters 51-58
15
.....................................
Table 3 - Attributes parameters 59.5A
..................................... 16
Table 4 - Attributes parameters 5B-5D
..................................... 16
Table 5 - Attributes parameters 5E-65
16
.....................................
Table 6 - Attributes parameters 66-67 17
.....................................
Table 7 - Attributes parameter 68 17
........................................
Table 8 - Attributes parameters 69.6A
17
.....................................
Table 9 - Attributes parameters 6B-6F
18
.....................................
Table 10 - Attributes parameters 70-71
18
.....................................
Table 11 - Attributes parameter 72 20
.......................................
Table 12 - Attributes parameter 73 22
.......................................
Table 13 - Attributes parameters 74-75 24
.....................................
Table 14 - Attributes parameters 76-79
25
.....................................
Table 15 - Report addressee status parameters 50-53
........................... 27
Table 16 - Operating mode parameters 3E, 50, 52
............................. 30
Table 17 - Operating mode parameter 53
31
...................................
Table 18 - Operating mode parameter 54
................................... 32
Table 19 - Space block/file mark parameters 31, 32, 35
......................... 35
Table 20 - Position control parameters 31-32, 35, 3A, 3E, 51-53
................... 38
Table 21 - Report position parameters 32, 35, 3A, 3E, 51-52
..................... 40
Table 22 - Record position parameters 31, 32, 35, 51
........................... 42
Table 23 - Read parameters 31, 32, 35, 3A, 3C, 3E, 51, 52
...................... 46
Table 24 - Read raw data parameters 31, 32, 35, 3A, 3C, 3E
..................... 48
Table 25 - Write parameters 31-32, 35, 3A, 3C, 3E, 51, 52
....................... 50
Table 26 - Read verify parameters 31, 32, 35, 3A, 3C, 3E 55
.......................
Table 27 - Read from buffer parameters 31, 32, 35, 3A, 3E, 50
................... 57
Table 28 - Erase parameters 31, 32, 35, 3A, 3E
............................... 61
. . .
Device Generic Command Set for Magnetic Tape Drives
VIII
---------------------- Page: 8 ----------------------
ISO/IEC 931th4 :1990 (E)
Foreword
IS0 (the International Organization for Standardization) and IEC (the International
Electrotechnical Commission) form the specialized system for worldwide standardiz-
ation. National bodies that are members of IS0 or IEC participate in the development
of International Standards through technical committees established by the respective
organization to deal with particular fields of technical activity. IS0 and IEC technical
committees collaborate in fields of mutual interest. Other international organizations,
governmental and non-governmental, in liaison with IS0 and IEC, also take part in the
work.
In the field of information technology, IS0 and IEC have established a joint technical
committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint
technical committee are circulated to national bodies for voting. Publication as an
International Standard requires approval by at least 75 % of the national bodies casting
a vote.
International Standard ISO/IEC 9318-4 was prepared by Joint Technical Committee
ISO/IEC JTC 1, Information technology.
ISO/IEC 93 18 consists of the following parts, under the general title Information
technology - In telligen t Periphera I Interface :
- Part I: Physical level
Part 2: Device specific command set for magnetic disk drives
Part 3: Device generic command set for magnetic and optical disk drives
Part 4: Device generic command set for magnetic tape drives
Annex A forms an integral part of this part of B is for
ISO/IEC 93 18. Annex
information only.
Device Generic Command Set for Magnetic Tape Drives
----------------------
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.