Output Queue Processing
The output queue called KUOUTQ can be monitored for spooled files that you
wish to convert. As each spooled file becomes Ready in this output queue, it
will be automatically processed into a TIFF or PDF document.
After processing a spooled file, it will be removed from the output queue unless
you specify *YES on the Save spooled file attribute using an OVRPRTF
Starting KeyesPDF Out Queue Processing
This program is used to start a program that will automatically convert spooled
files into either TIFF or PDF images. It will monitor an output queue called
KUOUTQ, converting any spooled file that is in a "RDY" status.
The TIFF or PDF images will be placed in a location of your choice.
The first time you run this program, it will create a subsystem called KUSBS and
a job queue, a message queue and an output queue all called KUOUTQ. These
objects are used to run the monitoring program CHKKUOUTQ that will run in
the KUSBS subsystem.
Each spooled file will be converted and possibly burst into parts, based on how
you have told the system how each should be processed. The default values used
for all spooled file conversions are coded in the PDF Conversion Setup
parameters. The Work with PDF Spooled Files screen, described on the
following pages, can be used to direct how each different spooled file should be
Unique member names will be automatically generated for the output file as it
processes each spooled file. The names will be made up of a date and time
stamp. However, you can have the output files given a name of your choice, in
several different ways:
1. You can code an escape sequence as part of the data inside your spooled
file, that contains the filename that you desire. This method is available for
use with *SCS and *USERASCII printer files, only. You code the escape
sequence as follows, anywhere on a page:
The Filename with extension can be any value up to 60 characters long.
You can include different description commands on each page, if you want
to have the spooled file burst into multiple image files. Pages with no
description command are considered a continuation of the previous page. If
you give a description command with a blank filename value, that page will
not be converted.
2. You can code a location string, using the format 'L=xx,C=xxx' in the User
Data field using an OVRPRTF statement. Where L=xx is used to specify
the line number and C=xxx is used to specify the column number of the
location in the spooled file where an Index can be found. This method is
available for *SCS printer files, only. The string that is found starting at the
specified location, on each page, will be used to Index or Name each of the
documents created. The first blank character ends the Index value.