Manual

Silo Media Manager Installation and Users Guide
Interfacing to SMM
4-6
4.4.3 Export Media Message:
The Export Media Message is used to notify the requester that Export Media
Command successfully completed or that an error occurred causing the command to
fail. With an Export Command, it will return the CAP position the tape label was
moved to (0-13 top to bottom) and the slot position the tape label was moved from.
The first byte of the label field will have a V, which stands for export update. A 1 (a
255 will be in both bytes) means that no change occurred. The structure of the Export
Media Message, its arguments and an example are listed in Table 4-10.
Table 4-10 Export Media Message for Control Path
Argument No. of Bytes Example (CHAR)
Message Size 2 136
Command 2 2
Device Node 10 \S7000
Device Name 10 $STK9710
Label 8 00208
Drive Node 10 0
Drive Name 10 0
Reserved 1 20 0
Reserved 2 10 0
Reserved 3 6 0
Reserved 4 40 V
Error Code 2 0
Tape CAP Position 2 0
Tape Drive Position 2 -1
Tape Slot Position 2 11
4.4.4 Import Media Message:
The Import Media Message is used to notify the requester that Import Media
Command successfully completed or that an error occurred causing the command to
fail. With an Import Command, it will return the CAP position the tape label was
moved from (0-13 top to bottom) and the slot position the tape label was moved to. A
1 (a 255 will be in both bytes) means that no change occurred. The first byte of the
label field will have a W, which stands for import update. The structure of the Import
Media Message and its arguments are listed in Table 4-11.