|
FUNCTN=TRKBAL:
- Output
- Meaning
- R15=X'00'
- The record fits on the track. Register 0 and STARBAL contain
the new track balance.
- R15=X'04'
- Record does not fit on the track. If MAXSIZE=YES is specified,
a partial record does not fit either. Register 0 and STARBAL are set
to zero.
- R15=X'08'
- Record does not fit on the track. MAXSIZE=YES is specified,
and a partial record does fit. Register 0 and STARBAL are set to the
maximum number of data bytes that fit on the remainder of the track
with the specified key length.
The key length is excluded from
the count of maximum data bytes.
- R15=X'0C'
- The user supplied a device type, but the device characteristics
table indicated that no device of that type was generated on the system.
Register 0 is set to zero.
- STARBAL
- This is the track balance field of the TRKCALC parameter list.
This field is first set to the track capacity if R is equal to 1,
or to the supplied BALANCE value if R is not equal to 1, or to the
calculated balance if R is not equal to 1 and BALANCE are omitted.
STARBAL is updated to the new track balance if the record fits; otherwise,
STARBAL is left with the input track balance value.
FUNCTN=TRKCAP :
- Output
- Meaning
- R15=X'00'
- Register 0 contains the number of records that fit on the track
if R is equal to 1, or the number of records that fit on the remainder
of the track if R is not equal to 1.
- R15=X'04'
- No records of the length specified fit on a full track (R is
equal to 1) or a partial track (R is not equal to 1). Register 0 is
set to zero.
- R15=X'0C'
- The user supplied a device type, but the device characteristics
table indicated that no device of that type was generated on the system.
Register 0 is set to zero.
- STARBAL
- This is the track balance field of the TRKCALC
parameter list. This field is first set to the track capacity
if R is equal to 1, or to the supplied BALANCE value if
R is not equal to 1, or to the calculated balance if R
is not equal to 1 and BALANCE is omitted. STARBAL is updated
to the new track balance if the record fits; otherwise,
STARBAL is left with the input track balance value when
the request specified MAXSIZE=NO or was defaulted to MAXSIZE=NO.
If the record does not fit on the track with MAXSIZE=YES specified,
STARBAL is set to the maximum number of data bytes of a partial
record that can fit on the remainder of the track with the
specified key length (Register 15 set to 8) or STARBAL is set
to zero when a partial record could not fit on the remainder
of the track (Register 15 set to 4).
|