Load a spooled file into InterFormNG2 documents

Load a spooled file into InterFormNG2 documents

How to load a spooled file into InterFormNG2 documents

You need to select the Library tab in the top of the InterFormNG2 interface, in order to load a spooled file into the documents library.

A prerequisite to load a spooled file is, that you are running InterFormNG2 on the IBM i platform.

The procedure is described below and it is also covered in this video:




Now you click the Documents icon:

 


Now you can click into the sub-folder you want, if you want to load the spooled file into a specific sub-folder. In this example I choose to load the spooled file into the Demo folder:



 

You click the Upload Splf icon on the top, when you have selected the folder, that you want to load the spooled file into:


 

Now you need to type in the name of the output queue and the library in which the output queue is placed:

 

InterFormNG2 will search for the specified output queue and suggest the libraries, where the output queue is found. The fastest way to select the Library is simply to select it from the drop down list:


- and click Show spooled files to view the list of all spooled files on the relevant output queue:

 

Now you simply click on the spooled file, that you want to load, and then this is shown:

 

Here you have these fields:

 

Resource name

The name to use for the uploaded spooled file. The default name is the same as the spooled file name, but you can change it to what you want (any existing file with that name will be overwritten without a warning). It is highly recommended to keep the extension .splf as InterFormNG2 is using that to identify the loaded file as a spooled file.

 

Code page

The EBCDIC code page to use for the load of the spooled file.

 

Storage format

This specifies the version or format in which the spooled file contents is to be stored. The version 2.0 is recommended. Please note, that the version should be the same as used later in the workflow e.g. in From IBM i output queue.

 

Limit page range

As default this is not activated and the whole spooled file is loaded. If you however only want to load a subset of the spooled file pages, then you can with this feature select only a page interval of the spoooled file pages. In this case the selected spooled file is 4 pages, so the suggestion is to load all 4 pages, but this can be changed. This can e.g. make it easier to focus on a few specific pages in the input spooled file, when you design a template. The default values are the page range interval of the input spooled file.

 

The spooled file is loaded with the settings, when you click Import to Library.

Now you can continue to load the spooled file as a sample file in the designerAfter you have loaded the spooled file it is possible to download the .splf file and upload it onto another installation of InterFormNG2 running on Windows and then do your template (design) on a Windows PC without access to any IBM i.


    • Related Articles

    • Documents library

      The documents section in the Library of InterFormNG2 contains the input documents (xml files and loaded spooled files), that can be used in the designer. Two input file types are covered in the sections below: Load an xml (or other input) file in the ...
    • Load a sample spooled file in the workflow

      It is recommended to load a sample spooled file, if you want to edit a workflow, that monitors an IBM i output queue. This is explained below and also covered in this video: To load a sample spooled file you first need to load the spooled file in the ...
    • Spooled file into Excel

      This section shows how a spooled file can be converted into Excel. The example relates to a spooled file, that has a format like below: The spooled file is a multi-page spooled file with a header, some details lines (in the middle blue frame), which ...
    • Spooled file split

      You might want to split up spooled files during InterFormNG2 processing. The reason might be, that the input spooled file may contain multiple documents (e.g. invoices), and that you want to create one PDF file (or email) for each invoice. There are ...
    • Load SPLF from property

      The advanced, other workflow component, Load SPLF from property loads a spooled file from the property. This require, that a spooled file previously have been saved into the property e.g. with the workflow component, SPLF to property or Save SPLF in ...