31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Step 3. Restricting the writer to process type *STD jobs only<br />

Note: This step can be ignored, if you restrict the writer jobs using the STRWTRCHK<br />

option as first mentioned.<br />

We create our first AFC function by entering 1 followed by Field Exit<br />

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 />

(No functions defined)<br />

Seqnbr Function<br />

1,0 F Change writer<br />

Writer name . . . . *OUTQ_____ Name, *OUTQ<br />

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

F3=Exit F13=Fold/Unfold F12=Cancel<br />

The first AFC function we enter is F=CHGWTR. This function is the first action taken for any<br />

spool file printed to queue AFC_INPUT2.<br />

By stating *OUTQ instead of a specific writer name (PRTXXX) we define that the writer to<br />

change should be the one currently assigned to the default queue AFC_INPUT2 defined in the<br />

previous screen.<br />

Step 4. Preventing following AFC functions to process type *STD<br />

In order to let all spool files with form type *STD be printed without further processing by<br />

®<br />

<strong>InterForm</strong>400 , we define an Exit in a new sequence line. We type 2 and press Field Exit.<br />

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 />

Seqnbr Function Attributtes of input file for which to execute the function<br />

2,0 9<br />

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

Save attribute . . . . . . . . . . . . _<br />

Jobname . . . . . . . . . . . . . . . __________<br />

Spooled file name . . . . . . . . . . __________<br />

Device file . . . . . . . . . . . . . __________<br />

Library . . . . . . . . . . . . . . __________<br />

Program that opened file . . . . . . . __________<br />

Library . . . . . . . . . . . . . . __________<br />

F3=Exit F13=Fold/Unfold F12=Cancel<br />

By function 9=EXIT we define that all spool files with form type *STD should not be processed<br />

<strong>InterForm</strong> A/S 169

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

Saved successfully!

Ooh no, something went wrong!