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.

� NOTE �<br />

222 User’s <strong>Manual</strong> for <strong>InterForm</strong>400 ®<br />

increases each time the key(s) change.<br />

*KEY Like *TASKKEY except this works across tasks / finishing<br />

definitions.<br />

All the autonumerators change for each new PDF file. Except *TASKKEY and *KEY.<br />

Normally you would create a new PDF file for each new key, but not necessarily.<br />

Date: Inserts the current date. It can be the: 1=<strong>System</strong> date, 2=Job<br />

date (the date of the AFC job) or the 3=Spoolfile creation<br />

date. Many different formats (without delimiters) are<br />

supported.<br />

Time: Inserts the current time. It can be either: 1=<strong>System</strong> or<br />

2=Spool creation time.<br />

<strong>System</strong> environment info: At the moment only '1=<strong>System</strong> name' can be selected.<br />

User exit: Select this possibility and you will see this:<br />

User exit program . . . . __________ Name, *NONE<br />

User exit program . . . . __________ Library, *LIBL<br />

Exit fields variables<br />

Parm 1 - 5 . . . . . . . _____ _____ _____ _____ _____ *KEY1-3, *VA-9<br />

Parm 6 - 10 . . . . . . _____ _____ _____ _____ _____<br />

� TIP �<br />

So with this option you can call your own program to insert a<br />

value in a variable e.g. found by using other variables. You<br />

can only use variables with names, that are lower e.g. *V2<br />

can be calculated with the values from *VA-*VZ and *V1.<br />

For a demo source of a user exit program look in source file APF3812/APISRC in member<br />

PNMEXIT. The program will be called with &Entrystep = *VAR. You return the value for the<br />

variable in &Rtnparm1.<br />

� NOTE �<br />

The same exit program can be called several times from different places in the PDF File<br />

naming finishing definition. The field &Entrystep indicates from where it is called.

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

Saved successfully!

Ooh no, something went wrong!