Please enable JavaScript to view this site.
The Cobwebb Fax exit programs can be used in the Fax Output Device and are used mainly to retrieve destination information from a database on the IBM i. Sample programs may be found in either the USRTOOL [for RPG] or USRTOOLLE [for RPGLE] source file in the CPPD library - see entries where the Description is prefixed OUTD-FAX. You can use CLLE (or CLP) as well but you must have all the correct parameters as defined below.
Note: When creating an Fax Exit Program you will need to add any required libraries (before you open the files) as the libraries added to your Cobwebb Design are not carried through to the Distribution program.
•Step 1 - Create your Cobwebb Fax Exit Program
Notes:
The first parameter will always be the Input string; all of the other parameters may be used to pass back information to your Cobwebb Design.
Remember to set the Error parameter to either 0 (or blank) for Success or 1 for Failure this is then passed back to the Cobwebb Server software to handle accordingly.
•Step 2 - Test your Cobwebb Fax Exit Program using the Cobwebb Test Harness for a File Exit Program TSTXPRM.
•Step 3 - Test your PPD interactively.
oEnable Test Mode to write parameter details to the joblog.
oUse the RUNPPD command. Note: Make sure that you only have the libraries that existing in the SPLMON Job Description in your Library List (CPPD, QGPL, QTEMP by default) so if there are any missing libraries you will know and can add them to your Fax Exit Program.
Program Parameters
Parameter |
Attribute |
Description |
Input |
A (20) |
Input string - Destination Address element |
FaxNo |
A (20) |
Destination Fax number |
To |
A (50) |
To / Company Name |
Attention |
A (30) |
Attention |
Reference |
A (30) |
Reference |
From |
A (30) |
From Name |