(-
(
(
-'
C
CONTROL
VECTOR
The
control
vector
is
found
by
adding the
control
vector dis-
placement address, located in the table
entry,
to
the address
located at hex
01
BO
(the start
ofthe
user workspace).
The
control
vector contains
information
pertaining
to
its
associated
I/O
buffer
in the
following
format:
Hex
Displacement Length Form
0-3 4
Address
displacement
4-7
4
Binary
8-9 4 Binary
A-B
2
Binary
CoD
2
Binary
E-11
4 Binary
12-13
2
Binary
14
Binary
Description
Displacement
from
the beginning
of
the user workspace
pointing
to
the table
entry
containing the address
of
this
control vector.
Number
of
bytes in the control vector.
The maximum record length
for
interchange
format
only.
For
all other formats, these bytes
are
meaningless.
The current record length
for
interchange
format
only.
For
all other formats, these bytes
are
meaningless.
Return code:
X'OOOO'
- Successful completion
X'0001'
- Error
(see
error code in bytes E-11)
X '0002 , - Invalid file
X '0003 , - Invalid device number (OPEN
only)
X'0004'
- Invalid file number (OPEN
only)
X'0005'
- Device already
assigned
(OPEN
only)
X'0006'
- Invalid parameter (OPEN
only)
x'ooor
- Workspace
full
(OPEN
only)
X'0008'
- Device
not
open
X'0009'
- 0 length record
(not
end
of
file)
X'OOOA' - Exceeded maximum record length
X'OOOB'
- Invalid data
type
Error
code. The
error
code
will
be
all zeros unless the
return code
is
X
'000
1 '. The error code bytes are the
same
as
the return code in the associated 10CB
(see
Input/Output
Control
Blocks).
File number.
Output
interchange file type.
Language
Support
6-7