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.

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

Create screen definition SCR110D<br />

Screen definition . . . : APFMENU<br />

Required library . . . : APF3812<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 />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

___ ___ ___ __ _____________________________________________________<br />

More...<br />

F3=Exit F12=Cancel<br />

Above we have defined:<br />

Required library is APF3812. This means that this function will ONLY be considered if the<br />

APF3812 library is in the library list of the current job when is pressed.<br />

The compare value is ‘OS/400 Main Menu’. This means, that this function will be run ONLY<br />

if we press the key when we are on the OS/400 Main Menu (This text must be<br />

found on the screen in line 1 starting in position 33).<br />

We press to see this screen:<br />

Create 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 we can take various information from the current screen and use it as parameters for<br />

a command. Above we take the text found in line 20 from position 7 (10 characters from<br />

this position) and use that as a parameter for the APF3812/APFMENU command in the file<br />

set parameter (KARTSET). This means that if you type a file set before you press<br />

then this file set will be used when you enter <strong>InterForm</strong>400 with this command.<br />

If we leave out the line and/or position above then the position of the cursor is used (when<br />

Escape was pressed).<br />

End

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

Saved successfully!

Ooh no, something went wrong!