31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Update AFC-functions attatched to output queues AFC305D<br />

Output queue . . . . . . : AFC_INPUT2<br />

Library . . . . . . . : APF3812<br />

Seqnbr F. Formtyp Save Jobname Filename Device file Program UserData<br />

0001 F<br />

Change writer: *OUTQ Form type: *STD<br />

0002 9 *STD<br />

Exit<br />

Seqnbr Function<br />

3,0 1 Merge with overlay<br />

Overlay name . . . . . . . . . IF400DEMO_<br />

File set . . . . . . . . . . SAMPLE____<br />

or overlay selector . . . . . ________<br />

Primary/Secondary set . . . . *PRI *PRI, *SEC<br />

Form type . . . . . . . . . . *STD______<br />

Copies of each page . . . . . *INPUT *INPUT, 01-99<br />

F3=Exit F4=Prompt F12=Cancel<br />

If you have worked through section Getting Familliar with Overlay Selectors, You could<br />

enter the selector MYSELECT instead of an Overlay name.<br />

It is very important that we define the form type to be *STD. The resulting spool entry of this<br />

AFC function will be sent back to the same queue AFC_INPUT2 and get status *RDY. That<br />

means the first two AFC definitions we defined will be executed for the new spool entry.<br />

However, the second line (9=EXIT on formtype *STD), will see to that the merged print is not<br />

processed once more by sequence line 3, but instead processed by the writer as result of<br />

sequence line 1=CHGWTR, which defined the writer to process jobs with formtype *STD.<br />

We now press Enter to decide the spool file attributes of the merged print out.<br />

Update AFC-functions attached to output queues AFC305D<br />

Output queue . . . . . . : AFC_INPUT2<br />

Library . . . . . . . : APF3812<br />

Seqnbr F. Formtyp Save Jobname Filename Device file Program UserData<br />

0001 F<br />

Change writer: *OUTQ Form type: *STD<br />

0002 9 *STD<br />

Exit<br />

Seqnbr Function<br />

3,0 1 Merge with overlay<br />

Output spooled file name . __________ *INPUT, Name<br />

User data . . . . . . . . IF400DEMO_ *INPUT, *JOB, *USER ...<br />

Seperator drawer . . . . . ________ *NONE, *DEFAULT, Nummer<br />

Hold output spooled file . *NO_ *NO, *YES<br />

Save output spooled file . *NO_ *NO, *YES<br />

As user data we state the same name of the overlay, which will allow us to verify the spool<br />

entry on the output queue AFC_INPUT2.<br />

We press Enter to save this AFC definition.<br />

<strong>InterForm</strong> A/S 171

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!