Please enable JavaScript to view this site.

From version 6.2.79 Cobwebb supply a Folder Monitor program FMXML2SPL which creates an IBM i Spooled File from a .XML file, which has had XML Cross References created. This Folder Monitor uses the *STD Monitor Type.

Note: Requires the following:

The Cobwebb XML module

IBM i OS V6R1M0 or above

You may override the Printer file PRTXMLSPLF generated by FMXML2SPL and configure page headings by specifying the following Parameters. If any of the parameters are left blank then the defaults will be used.

Please Note: There is no validity checking in the Folder Monitor Parameter Maintenance, as it has to handle any information for any parameter type, so you must make sure that you enter a valid override value for the CRTPRTF command.

Parameter

Description

Default

Notes

PARM1

File ID


Mandatory - The File Id linking this XML file with its XML Cross References.

PARM2

Output queue

QPRINT

If entered then must be a valid Output Queue name - will default to QPRINT in CPPD if Output Queue and Library are not valid.

PARM3

Output queue library

CPPD

If entered then must be a valid Library name - will default to QPRINT in CPPD if Output Queue and Library are not valid.

PARM4

User-specified data

File ID

The USRDTA for the generated spooled file.

PARM5

Page Size (Length)

66

1 - 255.

PARM6

Overflow line number

60

1 - 255 but must be less than Page Size( Length).

PARM7

Include Labels in page header


A comma separated list of Labels to be included in the header of each page e.g. ADD1,ADD2.

See Notes below for details.

PARM8

Include data for last header Label


N = No.

See Notes below for details.

Notes:

From version 6.2.88. In PARM7, you can specify a comma separated list of Label IDs that you wish to include in the page header should a document overflow onto more than one page. There is also the option to specify an 'N' in PARM8 if you wish to include the field headings from the last page header label in PARM7 but not the data. This can be useful if you  wish to include the heading for say your Invoice Lines on every page but you obviously wouldn't want to include the data.