HP OpenVMS I/O User’s Reference Manual: OpenVMS Version 8.4 > Appendix A I/O Function Codes

A.3 Magnetic Tape Drivers

This section lists the function codes and function modifiers for the magnetic tape drivers.

FunctionsArgumentsModifiers

IO$_READVBLK IO$_READLBLK IO$_READPBLK

P1 — buffer address P2 — byte count

IO$M_DATACHECK[12]

IO$M_INHRETRY

IO$M_REVERSE[13]

IO$_WRITEVBLK IO$_WRITELBLK IO$_WRITEPBLK

P1 — buffer address

P2 — byte count

IO$M_DATACHECK[12]

IO$M_INHRETRY

IO$M_INHEXTGAP[14]

IO$M_NOWAIT[15]

IO$M_ERASE[16]

IO$_SETMODE IO$_SETCHAR

P1 — characteristics buffer address

P2 — characteristics buffer length[17]

 

IO$_CREATE IO$_ACCESS IO$_DEACCESS IO$_MODIFY IO$_ACPCONTROL

P1 — FIB descriptor address

P2 — file name string address

P3 — result string length address

P4 — result string descriptor address

P5 — attribute list address

IO$M_CREATE[18]

IO$M_ACCESS[18]

IO$M_DMOUNT[19]

IO$_SKIPFILE

P1 — skip n tape marks

IO$M_ALLOWFAST[20]

IO$M_INHRETRY

IO$M_NOWAIT[15]

IO$_SKIPRECORD

P1 — skip n blocks

IO$M_INHRETRY

IO$M_NOWAIT[15]

IO$_REWIND IO$_REWINDOFF IO$_UNLOAD

None

IO$M_INHRETRY

IO$M_NOWAIT[15]

IO$M_RETENSION

IO$_WRITEOF

None

IO$M_INHEXTGAP[14]

IO$M_INHRETRY

IO$M_NOWAIT[15]

IO$_SENSEMODE IO$_SENSECHAR

P1 — characteristics buffer address[17]

P2 — characteristics buffer length[17]

IO$M_INHRETRY

IO$_DSE[21]

IO$_PACKACK IO$_AVAILABLE

None

None

[12] Not for TS04 and TU80

[13] Not for TK50

[14] Only for TE16, TU45, and TU77

[15] Only for TU81-Plus drives

[16] IO$M_REASE takes no arguments; only for IO$_WRITEBLK and IO$_WRITEPBLK on TMSCP drives.

[17] Only for TMSCP drives

[18] Only for IO$_CREATE and IO$_ACCESS

[19] Only for IO$_ACPCONTROL

[20] Only for local SCSI drives

[21] Only for TU78, TU81, TA81, and TA78

QIO Status Returns

SS$_ABORT

SS$_CANCEL

SS$_CTRLERR

SS$_DATACHECK

SS$_DATAOVERUN

SS$_DEVOFFLINE

SS$_DRVERR

SS$_ENDOFFILE

SS$_ENDOFTAPE

SS$_ENDOFVOLUME

SS$_FORMAT

SS$_ILLIOFUNC

SS$_MEDOFL

SS$_NONEXDRV

SS$_NORMAL

SS$_OPINCOMPL

SS$_PARITY

SS$_SERIOUSEXCP

SS$_TIMEOUT

SS$_UNSAFE

SS$_VOLINV

SS$_WRITLCK