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.

8=Call Program<br />

Seqnbr Function<br />

1,0 8 Program call<br />

Program name . . . . . . . . . . __________<br />

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

User profile . . . . . . . . . . AFCOPER___ AFCOPER, *OWNER<br />

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

This function gives you the possibility of letting Auto Forms Control perform operations that are<br />

not contained in this system. It could for instance be to store spooled print in a spool archive.<br />

Other useful features is to make a merge using the APF3812 CL command in order to create<br />

a PCL file in the folder system as seen on page 441, or even E-mail the merged file as a PDF<br />

file using the MRGSPLFPDF command (see page 382).<br />

Program name: A program to be called at this point<br />

The program can be called with the following 7 parameters regarding the relevant spool entry:<br />

Job name *CHAR 10<br />

User *CHAR 10<br />

Job number *CHAR 6<br />

File name *CHAR 10<br />

File number *CHAR 4<br />

Output queue *CHAR 10<br />

Library *CHAR 10<br />

An example of an exit program can be seen in the source member, FUNKT_8 in source file<br />

APF3812/APISRC.<br />

User profile: The user profile under which the user exit program will run.<br />

If e.g. a merge is done by use of the APF3812/APF3812 command the same user profile will<br />

be the owner of the merged spooled file.<br />

<strong>InterForm</strong>400 will not call the program unless it is owned by QSECOFR. If the program is not<br />

owned by QSECOFR when you add it you will be offered an possibility to change the owner (if<br />

you are authorized) with this window:<br />

Security change required OWN600D<br />

In order to prevent unauthorized programs from being used as<br />

exit programs, the exit program must be owned by QSECOFR.<br />

Press F10 to change the ownership of the program to QSECOFR.<br />

Press F3 or F12 to cancel.<br />

Program name . . . . . : TEST<br />

Library . . . . . . : KSE<br />

Creation date/time . . : 24/01/11 18:00:45<br />

Current owner . . . . : KSE<br />

F3=Exit F10=Change owner F12=Cancel<br />

Here you can simply press F10=Change owner to confirm that the program owner should be<br />

changed. The same screen is shown in <strong>InterForm</strong>400, whenever you try to add a call to a user<br />

program not owned by QSECOFR. (Also for e.g. split exit programs)<br />

<strong>InterForm</strong> A/S 149

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

Saved successfully!

Ooh no, something went wrong!