6.0

Main Menu Options
7
In field <iSeries 400 Form Type> you enter the value of the FORMTYPE attribute for the spooled file if you
wish to use this attribute to link to a document.
In field <iSeries 400 User Data> you enter the value of the USRDTA attribute for the spooled file if you wish
to use this attribute to link to a document.
You can be generic in your associations or you can define the associations on a document basis. For
example, to tell iWatch that you wish to use the FORMTYPE attribute to link all your spooled files, enter
"*FORMTYPE" in the <PPS Form> field. This will indicate to the monitor, started with LINK(*FORMTYPE),
that the value in the FORMTYPE attribute of the spooled file is the name of the PlanetPress document to
use. However, you could also associate a document that has a different name than the value in the
FORMTYPE attribute. For example, to associate document "INVOICE" with a spooled file that has "INV" in
its FORMTYPE attribute, you would enter "INVOICE" in the <PPS Form field> and "INV" in the <iSeries 400
Form Type> field. The same logic applies to the USRDTA attribute.
If "*BOTH" is specified in the LINK parameter of the STRPPSMON command, then both FORMTYPE and
USRDTA attributes of the spooled file must match the <iSeries Form Type> and <iSeries User Data> field
is the entry. The following pseudocode outlines the logic used by the monitor to associate a PlanetPress
document:
If STRPPSMON LINK(*FORMTYPE)
If *FORMTYPE found in PPS Form field
PlanetPress form = FORMTYPE attribute of the spooled file
Else
PlanetPress form = PPS Form field specified
EndIf
Else
If STRPPSMON LINK(*USRDTA)
If *USRDTA found in PPS Form field
PlanetPress form = USRDTA attribute of the spooled file
Else
PlanetPress form = PPS Form field specified
EndIf
EndIf
Else
If STRPPSMON LINK(*BOTH)
PlanetPress form = PPS Form field specified