Apr il 1, 198 1 DIAGNOSE Code X'14' Manipulation Input Spool File Execution of DIAGNOSE Code X'14' causes DftKDRDER to perform input spool
file manipulation. Depending upon the value of the function subcode,
the register specified as Rx contains a buffer address, a copy count, or
a spool file identifier. The Ry register, which mustpe an even register, contains either the virtual address of a spool input card
reader or, if Ry+1 containsX'OFFF', a spool file ID number .• Ry+1
contains a hexadecimal code indicating the file manipulation to be
performed. The codes are:0000 0004 0008 OOOC 0010 0014 0018 001C 0020 OFFF ly.!!£tion Read next spool buffer (data record)
Read next print spool file block(SFBLOK) Read next punch spool file block (SFBLOK) Select a file for processing Repeat active file nn times
Restart active file at beginning
Backspace one record' Read next monitor spool file block
Read next monitor spool record
Retrieve subsequent file descriptorOn return Ry+1 may contain error codes that further define a returned
condition code of 3.
Condition o
1
2
3
3
3
3
3SUBCODE X'OOOO' 4
8
12
1620 Error
Data transfer successful
End of file
File not found
Device address invalid
Device type invalid
Device busy, reader not ready,
or device is a real device
Fatal pagingI/O error
Page already locked forI/O Rx start address of fullpage virtual buffer
Ry virtual spool reader address
The specified device is checked for a file activated viaDIAGNOSE. If one is found, the next fullpage buffer is made available to the
virtual machine via a call to DMKRPAGT. If a file is not found, the
chain of reader files is searched for a file for the calling user and
connected to the virtual device for further reading. If no file is
found,virtual condition code 2 is set. When the end of an active file
isreached, the device status settinqs are tested for "spool
cont inuous.'" If not set, v irtual condition code 1 is set, indicating
end of file. If the device is set for continuous input, the active file
is examined to determine whether or not it is a multiple-copy file. If
it is,reading is restarted at the beginning of the file. If it is not,
the file is closed viaDMKVSPCR and the reader chain is searched for
another input file. If no other file is found, virtual condition code 1
is set. A specificDIAGNOSE X'14' Subcode X'OOOO' must be issued to get
the first spooled page again.Part 2. Control Program (CP) 187
file manipulation. Depending upon the value of the function subcode,
the register specified as Rx contains a buffer address, a copy count, or
a spool file identifier. The Ry register, which must
reader or, if Ry+1 contains
contains a hexadecimal code indicating the file manipulation to be
performed. The codes are:
Read next print spool file block
Restart active file at beginning
Backspace one record
Read next monitor spool record
Retrieve subsequent file descriptor
condition code of 3.
Condition
1
2
3
3
3
3
3
8
12
16
Data transfer successful
End of file
File not found
Device address invalid
Device type invalid
Device busy, reader not ready,
or device is a real device
Fatal paging
Page already locked for
Ry virtual spool reader address
The specified device is checked for a file activated via
virtual machine via a call to DMKRPAGT. If a file is not found, the
chain of reader files is searched for a file for the calling user and
connected to the virtual device for further reading. If no file is
found,
is
cont inuous.'" If not set, v irtual condition code 1 is set, indicating
end of file. If the device is set for continuous input, the active file
is examined to determine whether or not it is a multiple-copy file. If
it is,
the file is closed via
another input file. If no other file is found, virtual condition code 1
is set. A specific
the first spooled page again.