With the Advanced, Other workflow component, IBM i Print Attribute Options you can set various attributes of the InterFormNG2 output spooled files, that InterFormNG2 is generating on the IBM i platform.
Related workflow components for an input spooled file: Change attributes of spooled file and Post process spooled file.
Without this the default atttibutes of the output spooled files look like this:
With these fixed attributes it is of course hard to day what the spooled file contains, that they all look the same and you cannot display the contents of a merged spooled file with option 5=Display.
Instead you can use the IBM i Print Attribute Options workflow component to set multiple spooled file attributes:
The parameters are:
If you want to use this workflow component, then you can e.g. use it with the Print component like so:
Here is an example of a workflow, which copies the user profile into both the USRDTA and FORMTYPE attribute of the output spooled file:
The IBM i print attribute options here looks like this:
So in order to refer to the attributes of the input spooled file we first clicked the T-icon on the right to change into Xpath mode and then clicked the magnifying glass to select the user profile from the attribute tab as below: