8501 | File state (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the state of the spool file. Values and their meanings are as follows: - 0
Open state (job/data input spool file being accessed) - 1
Active state (job/data input spool file being created) - 2
Create state (output spool file being created) - 3
Defer state (defer option specified for output spool file) - 4
Ready state (spool file ready to be input or output) - 5
Transfer state (output spool file being transferred to remote node) - 6
Print state (output spool file being printed on a device) - 7
Problem state (abnormality preventing output spool file from printing) - 8
Del_pending state (output spool file to be deleted after closing) - 9
Spsave state (output spool file copies printed, SPSAVE option specified) - 10
(Reserved)
|
| If a spool file is in the create state, the only legal state change is to defer or del_pending. This operation sets only an internal defer or delete pending flag. The change of file state to defer or del_pending occurs only when the file has been successfully created. If the original state of the spool file is del_pending, changing the state of the spool file only changes the value of this field. The internal delete pending flag is not turned off. Changing a currently printing spool file state to del_pending or defer
causes the spooler to terminate the print job immediately. Changing the spool file state to del_pending flags that the spool file
is to be deleted the next time the spool file is closed. In
order to have the file actually deleted, you must FOPEN and
FCLOSE the file if the file was not already opened when the state was changed. Do not change the state of an output spool file to create,
open, or active. Do not change the state of a spool file to spsave if the spool file is private. Do not change the state of an input spool file, except for changing the state of an data input spool file from ready to del_pending. |
8502 | Priority (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the output priority of the spool file, a value in the range 0..14. Changing the priority of a spool file causes the file to be requeued in the SPFDIR. If the priority is higher than the outfence of the target device, the spool file is printed. Valid only for output spool files. |
8504 | Disposition (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Indicates whether the spool file is to be saved or purged after it
has been printed. It is illegal to change the disposition of a private spool file to save. Values and their meanings are as follows: |
8507 | Incomplete? (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Indicates whether the spool file is incomplete by setting the "incomplete due to lack of space" flag for the specified spool file. Valid only for output spool files. Values and their meanings are as follows: |
8509 | STDLIST of aborted job? (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Indicates whether the spool file is the $STDLIST of an aborted job by modifying the "$STDLIST of aborted job" flag. Valid only for output spool files. Values and their meanings are as follows: - 0
Not $STDLIST of an aborted job - 1
$STDLIST of an aborted job
|
8511 | Copies requested (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the total number of copies requested for the spool file. Valid only for output spool files. Do not modify this field if the spool file is private. |
| Changing the number of copies to greater than the copies printed causes a ready spool file to be message sent to the spooler of the target device. In this case, the device is activated if it is in the idle state. |
| Changing the number of copies to less than or equal to the number of completed copies (refer to item 8524) might cause the spool file to stay on the system even if the file has not been marked as spsave. Caution should be exercised when changing this field. |
8512 | Ready date (REC) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the calendar date when the spool file was created. This field cannot be modified if the file is in the create or active state. The format of the 32-bit integer passed is the same as that returned by the CALENDAR intrinsic. The bits and their meanings are as follows: - Bits (0:16)
Unused (must be set to zeros) - Bits (16:7)
The year of the century - Bits (23:9)
The day of the year
|
| Record type: bit32 (Refer to appendix B.)
|
8513 | Ready time (REC) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the time (hours/minutes/seconds/tenths of seconds) when the
spool file was created.This item cannot be modified if the file is in the create or active state. The format passed in the 32-bit integer is the same as that returned by the CLOCK intrinsic. The bits and their meanings are as follows: - Bits (0:8)
The hour of the day - Bits (8:8)
The minute of the hour - Bits (16:8)
The seconds - Bits (24:8)
The tenths of seconds
|
| Record type: bit32 (Refer to appendix B.)
|
8514 | Number of pages (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the number of pages in the spool file. A positive number indicates the actual number of pages in the spool file. A negative number indicates that the spool file has never been printed before and the number is only an estimation. Valid only for output spool files. |
8515 | Restart page (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the page at which to restart if the printing of the spool file has been suspended. Negative values are not valid for this field. Valid only for output spool files. |
8516 | User name and account name of creator (CA32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the user name and account name of the creator of the spool file. The first 16 bytes is the user name, and the second 16 bytes is the account name. The names should be upshifted, left-justified, and padded with blanks. Currently, only the first 8 bytes of each field is used. Valid only for output spool files. |
8517 | Job/session number (REC) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the job/session number under which the spool file was created.
The format of the data returned is as follows: - Bits (0:2)
Job or session (see below)? - Bits (2:30)
The job/session number
|
| The value of the first two bits indicates the following: - 0
Session not current to the system (recovered) - 1
Session current to the system - 2
Job current to the system - 3
Job not current to the system (recovered)
|
| Record type: bit32 (Refer to appendix B.)
|
8518 | Job name (CA16) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the job name under which the spool file was created.
The name should be upshifted, left-justified and padded with blanks.
Valid only for output spool files. |
8519 | Spool file designator (CA16) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the formal file designator of the spool file. The file designator should be upshifted, left-justified, and padded with blanks. |
8520 | Target device (REC) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the destination logical device for the spool file. It can be
a device name, a device number or a device class. A device number must
be in the format of ASCII character string. |
| Changing the target device causes the spool file entry to be moved
to the new target device's queue. Only users with SM capability can
change the target device of a private spool file. The device name must
be upshifted, left-justified, and padded with blanks. Valid only for
output spool files. |
| Record type: device_name_type (Refer to appendix B.) |
8524 | Completed copy count (I32) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the number of copies that have been printed already. Valid only for output spool files. |
8525 | Forms ID (CA16) Put: Yes; Verify: Yes; Release 3.0 |
| Returns or modifies the forms ID of the spool file. The forms ID must be upshifted, left-justified, and padded with blanks. Valid only for output spool files. |
8533 | Broadcastable (I32) Put:Yes; Verify: Yes; Release 4.0 |
| Returns or modifies the broadcastable field of the output spoolfile.
Used to print additional copies of SPSAVE'd output spool files
by modifying copies state field along with broadcastable field
for output spool files.
Valid only for output spool files. |