Intermate iSeries User Manual

Page of 490
160
    User’s Manual for InterForm400
®
Example 2, Using same Queue for Input and Output
We will now create a new AFC queue, which will be used for both input and output for
Auto Forms Control
Step 1. Checking the Writer
First we will make sure our printer only prints out one specific form type, and leave others
to AFC.
The easiest way to do this is from the InterForm400
®
 Main Menu to choose 80.
Administering InterForm 400,  2. Configure InterForm 400 and then press Enter
several times to get the screen below:
           Configure InterForm 400                                      APF101D 
                                                                            7/7  
 Do you want to use the APF3812/STRWTRCHK program as validity checking program 
 for the STRPRTWTR and STRRMTWTR commands, to avoid a writer to be started with
 FORMTYPE(*ALL) on one of the output queues defined in Auto-Forms-Control, and 
 if yes, what formtype has to replace *ALL when a writer is started on one of  
 these output queues.                                                          
                                                                               
                                                                               
                                                                               
     Use APF3812/STRWTRCHK as a validity checker    N   (Y N)                  
                                                                               
     Form type to replace *ALL . . . . . . . . . .  __________            
                                                                               
 This option is especially useful, if you are using the same output queue     
 for both input to AFC-functions and for output to a printer, as a writer      
 never should be started with FORMTYPE(*ALL) on such an output queue.         
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
 F3=Exit                                                     F12=Cancel        
In this screen you state Y to use STRWTRCHK as a validity checker, and specify which
particular form type the printer writer is restricted to process.
In case you do not want to use this general change, you can specify a specific form type
when starting or changing writer jobs as seen below.
Printer Writer (Twinax, or TCP/IP (TN5250E or Raw Socket))
If the printer writer is already started and attached to another output
queue, the following command will change PRTXXX to be attached to
output queue AFC_INPUT2. (If the writer is not started just replace
CHGWTR with STRPRTWTR)
CHGWTR WTR(PRTXXX) OUTQ(APF3812/AFC_INPUT2)
FORMTYPE(*STD)
Defining formtype *STD for the writer will limit the subsystem QSPL to
process jobs with this formtype only, thus leaving all jobs regardless of
formtype to be processed by subsystem AUTO_FORM:
Remote Writer (TCP/IP LPD)
You can not change a remote writer to use another queue as it is the
queue itself which contains the definition of the writer (IP address). You
should instead follow the procedure explained on page 370 Attaching
through a TCP/IP Print Server
 in order to configure queue
AFC_INPUT2 as a remote writer. Note that remote writer must be started