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.

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.
    • Related Articles

    • From IBM i output queue

      If you are running InterFormNG2 on the IBM i platform, you can configure it to monitor an output queue using the workflow input type: From IBM i output queue. If you intend to monitor many output queues you should also consider the input type, From ...
    • Use translation file to link users with an output queue

      In this section we will look at how we can use a translation file with the function, ng:translation to dynamically select the output queue and output queue library and use that to move a spooled file and to use this for the target printer for a merge ...
    • Advanced Output workflow components

      The advanced output workflow components are: ActiveMQ send message. Sends a message to an ActiveMQ message queue. Azure Service Bus send message. Sends the current payload as a message to Azure Service Bus. Create an upload ZPL font. Creates a ZPL ...
    • Installing InterFormNG2 on IBM i

      Installation of InterFormNG2 on the IBM i platform is described below. Please notice the prerequisites - especially for OS400 and Java. You can also view this video: Please refer to Spool2XML for details regarding use of InterFormNG2 on the IBM i ...
    • Use a database to move a spooled file or set output printer

      In this section there are some examples how you use a database in order to find the output queue and output queue library via a database lookup and use that information to either move the input spooled file and/or use this information to select the ...