From IBM i output queue - InterFormNG2 Manual

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 IBM i output queue (multiple).

How it works

  • InterFormNG2 creates a data queue with the same name as the monitored output queue, in the same library as the output queue.

  • InterFormNG2 monitors this data queue for entries.

  • InterFormNG2 will only react to a spooled file when it arrives on this queue with status: Ready (*RDY) or when you hold and release the spooled file to create a new entry in the attached data queue.

 

   


Configuration fields

Queue name

  • The name of the output queue you want to monitor.

Library

  • This field is optional if the output queue is found in only a single library.

  • The library where the output queue is located.

  • Output queues are most often created in: QUSRSYS or QGPL but any library can be used.

Input type

  • The type of input.

  • Set this to -> SPLF to tell InterFormNG2 to expect a spooled file.

Use spooled file code page attribute when available

  • Enable this option to allow spooled files to be processed in different code pages.

  • If enabled, the code page selected above can be overwritten by the spooled file attributes.

  • Normally, this should be enabled and only disabled if you expect input spooled files with an incorrect code page setting.

Internal SPLF format

  • Specify the spooled file format to use.

  • This must match the format used by the templates in the workflow.

Code page

  • The EBCDIC code page of the input spooled files.

  • Leave blank to use the system code page (System Value: QCHRID) or set a specific code page.

  • Example:

    1142 (Danish Euro Code Page)

Sample spooled (XML) file

  • Reference a sample spooled file that has already been loaded in the Library.

On error workflow

  • Define which workflow (if any) should be executed in case of an error during the processing of a spooled file.

    • Related Articles

    • From IBM i output queue (multiple)

      This workflow input type is very similar to the input type, From IBM i output queue except that you can monitor multiple output queues with this workflow input type contrary to From IBM i output queue. For the most of the parameters you should refer ...
    • How to monitor an output queue

      If you want to monitor an output queue in InterFormNG2, then you need to add a new workflow and select the input type From IBM i output queue or From IBM i output queue (multiple) if you want to monitor spooled files from multiple output queues in a ...
    • 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 ...
    • File output

      InterFormNG2 offers multiple methods for distributing all output formats. You can combine any input and output formats with various distribution options. The following list outlines all the methods for distributing output from InterFormNG2: For ...
    • 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 ...