Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The COZZI - Save Spool File (SAVSPLF) command saves the contents of a SPOOL file to a database file. The SPOOL file can be restored by the Restore SPOOL File (RSTSPLF) command. All SPOOL File Attributes are saved with the SPOOL file data, so the restored SPOOL File will be nearly identical to the original--some attributes are always recreated when restoring a SPOOL file using these commands, such as creation date/time.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SPLFNAME | SPOOL file name | Generic name, name, *ALL, *LAST | Required, Positional 1 |
JOB | Job name | Single values: *, *CURRENT, *ALL Other values: Qualified job name |
Optional, Positional 2 |
Qualifier 1: Job name | Name | ||
Qualifier 2: User | Name | ||
Qualifier 3: Number | 000000-999999 | ||
SPLNBR | SPOOL file number | 1-999999, *ONLY, *LAST, *ANY, *ALL | Optional |
OUTQ | Output Queue filter | Single values: *ALL Other values (up to 300 repetitions): Qualified object name |
Optional |
Qualifier 1: Output Queue filter | Name | ||
Qualifier 2: Library | Name, *LIBL | ||
USER | User profile filter | Single values: *JOB, *ALL Other values (up to 300 repetitions): Name, *CURRENT |
Optional |
USRDTA | User data filter | Character value, *ALL, *BLANK | Optional |
FORM | Forms type filter | Character value, *ALL, *STD | Optional |
CRTDATE | SPOOL File Create-Time Filter | Single values: *ALL Other values: Element list |
Optional |
Element 1: Earliest Date to include | Date, *CURRENT, *AVAIL | ||
Element 2: Earliest Time to include | Time, *AVAIL, *BEGIN | ||
Element 3: Ending Date to include | Date, *CURRENT, *AVAIL | ||
Element 4: Ending Time to include | Time, *AVAIL, *END, *CURRENT | ||
ARCHIVE | SPOOL Archive file | Qualified object name | Optional |
Qualifier 1: SPOOL Archive file | Name, USRSAVSPLF | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specify the name of the SPOOL File to be saved.
This is a required parameter.
Top |
Specify the job name that is searched for the SPOOL file named on the SPLFNAME parameter.
Single values
Qualifier 1: Job name
Top |
Specify the SPOOL File number of the SPOOL File name. If a SPOOL File Name (SPLFNAME parameter) appears more than once, the SPLNBR parameter identifies which opne of the multiple SPOOL files should be saved.
Top |
Specify the name of the OUTQ in which to look for the SPOOL File name. Up to 300 qualified OUTQ names may be used to filter the search.
Single values
Output Queue Filter...
Top |
Specify one or more User Profiles who own the SPOOL File. Only uses whose user profile name appears on this list are searched for the SPOOL File Name specified on the SPLFNAME parameter.
Single values
Other values (up to 300 repetitions)
Top |
Specify a filter for the User Data of the SPOOL Files to save.
Top |
Specify a filter for the FORM of the SPOOL Files to save.
Top |
Top |
Specify the name of the database file that is used as the SPOOL File Archive. If the file does not exist, it is created using the COZSAVSPLF DB2 definition.
SPOOL Archive file
Top |
Top |
Top |