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.

Above we have defined actions for 3 different screens. A screen definition looks like this:<br />

(Use to view the second screen)<br />

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

Change screen definition SCR110D<br />

Screen definition . . . : APFMENU Name<br />

Required library . . . : APF3812 Name, *NONE<br />

Description . . . . . . . Enter <strong>InterForm</strong>400 from Main if APF3812 is in LIBL<br />

Type comparisons, press Enter. Specify OR to start each new group.<br />

Leave line and/or position blank to select cursor line/position.<br />

AND/OR Line Pos. Opr. Compare value<br />

1 33 EQ OS/400 Main Menu<br />

F3=Exit F12=Cancel<br />

More...<br />

(Here we only want to call this function IF we are on the OS/400 Main Menu screen AND the<br />

APF3812 library is in the library list of the job). If the ‘Required library’ field is *NONE then no<br />

special library is required (in the library list).<br />

What to do is defined on the next screen:<br />

Change screen definition SCR110D<br />

Screen definition . . . : APFMENU<br />

Required library . . . : APF3812<br />

Command . . . . . . . . . APF3812/APFMENU KARTSET(&A)<br />

Leave line and/or position blank to select cursor line/position.<br />

Line Pos. Len Description<br />

&A 20 7 10 File set<br />

&B<br />

&C<br />

&D<br />

&E<br />

&F<br />

&G<br />

&H<br />

&I<br />

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

Here the first 10 characters from the command line is taken as used as identification of the file<br />

set that you want to work with. You can use the variables &A to &I on the command in the top.<br />

To invoke the commands in a specific job you need to run the APF3812/STRSCNATN<br />

command, which will activate the function in the current call level. You can find information of<br />

the STRSCNATN (Start Screen Attention) on page 463.<br />

For a few examples of how to implement and use the APF3812/WRKSCNDFN and<br />

APF3812/STRSCNATN commands please refer to page 533 in Appendix Q.<br />

End

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

Saved successfully!

Ooh no, something went wrong!