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.

 

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

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.

 

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.

 

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.

 

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:

 

General description of Spool2XML

InterFormNG2 setup and settings on IBM i.

The IFormNG2 menu overview

The CVPRTFXML command.

Spool2XML troubleshooting

    • Related Articles

    • 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 ...
    • Split spool (dynamic key position)

      As the split spooled file (fixed key position) component above, this component can be used to split a spooled file based on a key value. However, in this case the key value can be in variable positions on the page. You just need to be able to find ...
    • Split XML

      This advanced converter workflow component can split up an XML in the payload of the current workflow. The subtree of this workflow component is executed for each splitted XML. A similar component, which is also able to transform the splitted files, ...