Intermate iSeries Stepper Machine User Manual


 
User’s Manual for InterForm400® 147
9=Exit
This function will cause all remaining AFC functions (sequence lines) to be skipped.
If you want to insert AFC functions, that are to be executed for all spooled files not
specifically handled in previous lines you could use this function. Just after handling a
specific spooled file insert this function to exit from AFC.
Example:
Below we have defined, that spooled files with form type ‘DEMO’ should be merged with
overlay ‘IF400DEMO’, spooled files with form type ‘DEMO2' should be merged with
overlay ‘RULER’ and all other spooled files should be moved to output queue, PRT01
where they will be printed.
Update AFC-functions attached to output queues AFC305D
Queue: AFC_INPUT1 Library: APF3812
Seqnbr Funct Form type Save Jobname Filename Device file Program
0001 1 DEMO
Merge, Overlay: IF400DEMO Fileset: SAMPLE
0002 9 DEMO
Exit
0003 *
0004 1 DEMO2
Merge, Overlay: RULER Fileset: SAMPLE
0005 9 DEMO2
Exit
0499 *
0500 5
Move spooled file, new outq: PRT01 library: QUSRSYS
F3=Exit F5=Service F13=Fold/Unfold
A=Change attributes
Seqnbr Function
1,0 A Change attributes
Form Type . . . . . . __________ Form type, *SAME
User data . . . . . . __________ User data, *SAME
Restart with sequence no. 1 _ (Y N)
F3=Exit F13=Fold/Unfold F11=Delete F12=Cancel
With this you can change FORMTYPE or USRDATA attributes of the input spool entry.
The idea of changing the form type is the requirement for a spool entry, which has been
processed under e.g. the overlay name INVOICE to be run through the statements
defined for the overlay SHIPPING. If the original spool entry had form type Invoice a
sequence line 1.Merge with InterForm400
®
overlay would have made one printout. After
this sequence line you change the forms type of the original spool entry to Shipping
which will cause another 1. Merge with InterForm400
®
overlay to add the SHIPPING
overlay and produce a new print-out.
Form Type The new form type assigned to the original input spool entry.
User data The text description attached to a spool entry when viewing an
output queue. Changing of USRDTA will normally only be done to