Software/Hardware used: As Asked: September 10, AM Last updated: October 25, PM. Related Questions. Spool · FILES. Here’s the code to transfer a spool file to a text file in order to print it from a PC or include it in a Dig Deeper on iSeries system performance and monitoring. AS/ Spool Files file hyperlinks to computer files · Convert digital files to CFE file · Convert Spool file to DB file · Convert JAR file to APK file.
|Published (Last):||8 May 2015|
|PDF File Size:||14.26 Mb|
|ePub File Size:||16.83 Mb|
|Price:||Free* [*Free Regsitration Required]|
Let me give you an example of a small system I established for a client that needed to make spool files reports available to PC-based tools. Creation date date Specify the date the spooled file was created. The assigned channel values as specified on the command are as follows: Print lines that are all blank are not copied. The newly copied data replaces all old data in the member because all old records have been cleared. 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.
Converting a spooled file to PDF
Job name JOB Specifies the job that created the spooled file whose data records are to be copied. 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. Why would zplf want an automated process?
Specifies the name of the system where the job that created the spooled file JOB parameter ran. More Articles From Michael Ryan. The range of valid line numbers is 1 through If this file does not exist at the time of the copy, the copy will fail.
User name Specify the user name that identifies the user profile under which the job is run. Channel number refers to a method of determining skipping for reports. Administrators have developed different techniques of associating users and their spool files with the appropriate printers and output queues. While there are a number of spool file automation products on the market, the client didn’t need all of the bells and whistles.
Copy Spooled File (CPYSPLF)
So, the first step was to create the data queue. Line The line number assigned for the channel number in the same list. Specifies a list of channel numbers with their assigned line numbers. This is a required parameter.
Where allowed to run: The newly copied data is added to data existing in the member. The 4-byte print control code is created. The FCFC 1-byte print control character is used and takes advantage of the assigned channel values in formatting the output.
Element list Optional Element 1: Number Specify the system-assigned job number. Channel channel-number Specify which channels are used to control skipping on a report. The three steps are: CPF Cannot convert spooled file data. CPF Copy request failed. Specifies a user-defined physical database file to which the spooled records will be copied.
CPF Not authorized to spooled file. CPF Necessary resource not available.
The starting point ieries determining how you know a spool file has been placed in the output queue–by using a data queue associated with the output queue. The only valid values for this parameter are 1 through They can reside in different libraries.