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.
This parameter is considered after the job name, user name, job number, spooled file name, and spooled file number parameter requirements have been met.
If a time separator other than the separator specified for your job is used, this command will fail. CPF Necessary resource not available.
Ending time One of the following is used to specify the ending time before which the spooled files were created.
End time and date Element list Element 1: Element list Optional Element 1: The range of valid line numbers is 1 through Creation date Date Element 2: If the command is run in batch, an error message will be sent and no output will be produced. Channel number refers to a method of determining skipping for reports. If you enter this command from the command line, the string must be enclosed in apostrophes. Specifies which print control characters if any are to replace the spooled file’s internal print control characters.
Displaying the contents of a spooled file To display the contents of a spooled file printer outputuse either of these methods. Beginning time One of the following is used to specify the starting time at which or after which the spooled files were created.
Positional values can be specified to select the files: CPF Error occurred while processing. End time and date Element 1: Ending date One of the following is used to specify the ending date before spooled or on which the rile files were created. Parameters Examples Error messages.
Valid values for hh range from 00 through If no ASP group is associated with the thread, an error will be issued.
Copy Spooled File (CPYSPLF)
Line The line number assigned for the channel number in the same list. 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. User name Specify the user name that identifies the user profile under which the job is ws400.
The newly copied data is added to data existing in the member. On a system with a large number of spooled files, it may be necessary to view a selected list of the system’s spooled tp. Other values up to 12 repetitions Element 1: Spooled files created before the specified date are not shown.
IBM i: Managing spooled files
You can choose to change, hold, delete, display, or release yo or all of the entries that are displayed. If an asterisk is not specified with the name, the system assumes that the name is a complete user name. If this file does not exist at the time of the copy, the copy will fail. Displaying messages associated with a spooled file To display messages associated with a spooled file printer outputuse either of these methods. 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.
One of the following is used to specify the ending time before which the spooled files were created. Beginning date One of the following is used to specify the starting date on which or as4000 which the spooled files were created. One of the following is used to specify the ending date before which or on which the spooled files were created. Start time and date Element list Element 1: One of the following is used to specify the starting time at which or after which the spooled files were created.
All other values result in this system’s terminology being used. CPF Member not added. The asterisk substitutes for any valid characters. This parameter is considered after the job name, user name, job number, spooled file name, spooled file number, and job system name parameter requirements have been met. Suspending one spooled file and printing another To temporarily stop the printing of one spooled file printer output and start the immediate printing of another spooled file printer outputfollow these steps.
CPF Duplicate job names found. Parameters Examples Error messages. This is a required parameter. The time is sppooled in hour format and can be specified with or without a time separator: Job name name Specify the name of the job that created the spooled file. Controlling the number of spooled files The number of spooled files on your system should be limited.
Channel channel-number Specify which channels are used to control skipping on a report. Ro the format and terminology spkoled be used on the displays that result from running this command.