Spool2XML

Spool2XML

One of the InterFormNG2 modules is spool2XML. When it comes to spooled file support in InterFormNG2 you have two options:

  1. You can use the spool2XML module to convert input spooled files into XML files, that are placed in the IFS, where InterFormNG2 is expected to pick up the XML files.
  2. You can also load and monitor spooled files directly in InterFormNG2.
Notes

It is important, that Spool2XML and InterFormNG2 is not monitoring the same output queues. You can combine the two spooled file monitors on the same machine, if they are monitoring different output queues.

Limitations and prerequisites of Spool2XML

  1. Please notice, that only Single byte character set spooled files are supported - not DBCS. Mixed byte character set spooled files (e.g. codepage 935) are supported in the way that the DBCS contents are ignored.
  2. Spool2XML can only be used with spooled files, that has been generated with an externally described printer file, and the printer file should also refer to the input fields and not e.g. use generic fields.
  3. You need to be able to change the library list of the job, that generates the spooled files and thereby select between different printer files.
  4. It is recommended to test thoroughly if your spooled files can be handled by Spool2XML before purchasing this module.

Spool2XML is covered in these sections:

  1. General description of Spool2XML
  2. InterFormNG2 setup and settings on IBM i.
  3. The IFormNG2 menu overview
  4. The CVPRTFXML command.
  5. Spool2XML troubleshooting

    • Related Articles

    • XML Node Selection & Referencing

      XPath provides multiple ways to reference and navigate through an XML structure. Learn how to select specific nodes using direct references, index numbers, conditions, and relationships with other nodes. Connecting preceding or following node sets to ...
    • Node Existence & Conditions

      XPath allows you to verify the existence of nodes, check if they contain data, count occurrences, and ignore namespaces. This section covers essential techniques for validating and filtering XML elements. Calculating the sum of nodes Counting ...
    • Split spool (complex key)

      A spooled file can be split into smaller files depending on the contents e.g. to split up a larger spooled file with many invoices into individual invoices. If the other spooled file split functions are not enough, then you can consider this workflow ...
    • XML

      XML is used widely in InterFormNG2 as both input and output payload in the workflow (and of course in the designer). Please notice, that some workflow components are listed as accepting only XML as input, where they actually also accept an IBM i ...
    • Split spool (fixed key position)

      If you want InterFormNG2 to process spooled files, that contains multiple documents e.g. multiple invoices within a single spooled file (e.g. generated by a batch invoice run), then you may want to split up the spooled file into multiple output PDF ...