Spooled files management includes tasks such as holding a spooled file, releasing a spooled file, and moving a spooled file. For the spool files for your current session use WRKJOB option 4. You can find spool files created by different users using the WRKSPLF. AS/ Spool Files Physical files don’t convert to spooled files. The RUNQRY command can print records from a physical file with very little.
|Published (Last):||24 July 2011|
|PDF File Size:||11.57 Mb|
|ePub File Size:||10.92 Mb|
|Price:||Free* [*Free Regsitration Required]|
Use this value when the job system name parameter or the spooled file create date and time parameter is to take precedence over the spooled file number when selecting a spooled file. If you enter this command from the command line, the string must be enclosed spooped apostrophes.
Beginning date One of the following is used to specify the starting date on which or after which the spooled files were created. Job name JOB Specifies the name of the job or jobs that created the spooled files to be selected. Other values up to 12 repetitions Element 1: Fole can choose to change, hold, delete, display, or release any or all of the entries that are displayed.
CPF Copy request failed. The assigned channel values as specified on the command are as follows: The newly copied data replaces all old data in the member because all old records have been cleared.
The FCFC 1-byte print control character is used and takes advantage of the assigned channel values in formatting the output. Specifies which group of files is selected to be displayed. End time and date Element 1: When you copy a spooled file to a physical file, certain information is lost or changed. Specifies a list of channel numbers too their assigned line numbers.
Use leading zeros if necessary.
IBM i: Managing spooled files
When a job is completed, spooled files and internal job control information are kept until the spooled files are printed or canceled. CPF Duplicate job names found. On a system with a large number of spooled files, it may be necessary to view a selected list of the system’s spooled files.
The number of jobs on the system and the number of spooled files known to the system increase the amount of time needed to perform IPL and internal searches, and increase the amount of temporary storage required. The assigned line number for channel 1 is line 1.
Displaying the contents of a spooled file To display the contents of a spooled file printer outputuse spoole of these methods. User name Specify the user name that identifies the user profile under which the job is run.
Element list Optional Element 1: Qualified job name Optional Qualifier 1: This command displays the Work with Spooled Files panel, showing a list of all of the spooled files on the system. CPF1E99 Unexpected error occurred. If the command is run in batch, an s;ooled message will be sent and no output will be produced. This command allows you to work with all of the spooled files on the system that have a create date and time between CPF7D41 Error occurred while logging order assistance request.
Ending date One of the following is used to specify the ending date before which or on which the spooled files were created.
Work with Spooled Files (WRKSPLF)
Each assigned channel must have a corresponding line number to provide the correct positioning on a report. The only valid values for this parameter are 1 through Print lines that are all blank are not copied.
User Name Qualifier 3: Restarting the spoled of a spooled file To restart printing a spooled file on a particular page, follow these steps.
Releasing a spooled file To release a spooled file printer output that is being held, use either of these methods. Only files created by that user name are selected. Start time and date Element 1: Hours, minutes, and seconds must each be exactly 2 digits.
Copy Spooled File (CPYSPLF)
Creation date Date Element 2: All other values result in this system’s terminology being used. Moving a spooled file To move the spooled file printer output from one output queue to another output queue, use either of these methods. One of the following is used to specify the ending time before which the spooled files were created.
Line 3 assigned to channel 1 Line 15 assigned to channel 4. Select jobs generic-name Spooled files created by jobs with the generic name specified are to be included. Spooled files management includes tasks such as holding a spooled file, releasing a spooled file, and moving a spooled file.
Managing spooled files
Displaying a list of spooled files To display a list of spooled files printer outputuse either of these methods. Spooled files created before the specified time and date are not shown.
Specifies the format and terminology to be used on the displays that result from running this command. Where allowed to run: Specifies the auxiliary storage pool device from which spooled files are to be selected. If no current library entry exists in the library list, QGPL is used.
Only files on the device-created output queue for that device are selected.
Job name name Specify the name of the job that created the spooled file.