Please enable JavaScript to view this site.

InterFormNG2 Manual

Navigation: Spooled file support > Spooled file extractor

Splf extractor: How to use it in the workflow.

Scroll Prev Top Next More

The spooled file extractor can be used for extracting XML data from an input spooled file, and one important part is of course to also use this transformation in the workflow of InterFormNG2.

 

For that you need to use the workflow component, Splf to XML. This workflow component accepts a spooled file (.splf) as input and outputs an XML with the extracted data.

 

After the Splf to XML component you can then e.g. merge the XML file into print, PDF or email (with an attached PDF) or use any of the many advanced workflow components.

 

The input for the Splf to XML component must be a spooled file. The spooled file can however arrive in two ways:

 

1.As a 'real' spooled file on the AS400/iSeries/IBM i platform via a monitored output queue.

You can do that, if you setup a workflow to monitor an output queue like in this example:

 

NG2SplfExtractorOutq0001

 

The first component looks like this:

 

NG2SplfExtractorOutq0002

 

The input type must be SPLF. If you select something else then the Splf to XML component cannot be inserted.

 

 

 

2.An .splf file is processed e.g. via a monitored folder.

The workflow below monitors a folder:

 

NG2SplfExtractorFldr0001

 

(In this example the resulting XML is saved in a folder).

 

The important thing is to specify the right filter and file input type on the input component:

 

NG2SplfExtractorFldr0002

 

It is important, that the filter match the extension of the input file and you need to specify SPLF as the input type in order to be able to select the Splf to XML component inside the workflow.