From IBM i output queue (Stream)

From IBM i output queue (Stream)

If you are running InterformNG2 on the IBM i platform or if the InterformNG2 installation is connected to an IBM i, then you can use InterformNG2 to process spooled files. The workflow input type, From IBM i output queue (Stream) which is described here can used as a way to process very large spooled files without using too much memory.

For smaller spooled files you can consider the alternative workflow input types:
From IBM i output queue This monitors an output queue and loads (and holds) the complete spooled file.
From IBM i output queue (multiple) Similar to "From IBM i output queue" - except that this can monitor multiple output queues in one setup.

The concept of the component, From IBM i output queue (Stream) is to process the large input spooled file as individual pages or smaller documents. The smaller documents are normally identified by a document number or similar, where this document number might only be found on the first page of a document or in different positions/lines. 

The From IBM i output queue (Stream) component temporarily loads the complete spooled file, but for processing it loads only a single spooled file page at a time. The recommendation is to use this input type with one of the split spooled file components as the very first workflow component and the split components collect the pages for a matching key to keep a document together.
Split spool (fixed key position)
Split spool (variable key position)
Split spool (complex key)

Notes
The grouping option for the split components is not supported for the input type, From IBM i output queue (Stream).
Notes
The payload of this input type is "SPLF_STREAM" and components with input payload "ANY" cannot be called for this payload.
The implementation in the workflow and the parameters are  the same as for From IBM i output queue with the deviations mentioned above.