Input spooled files in InterFormNG2 are always converted into a simple text representation, where one line represents a input spooled file line. This also includes multiple spooled file lines found in the spooled file, that are using overlapping (with 0 as the line in the left margin if you e.g. copy the spooled file into a file with the CPYSPLF command with the parameter: CTLCHAR(*PRTCTL)).
This overlapping is e.g. used in *SCS spooled files for creating a bold print out, but it is also used in combination with the underline character in order to underline a text or simply to insert a horizontal line.
When the underline is used for underlining a text, then InterFormNG2 needs to decide, if you really need this underline or not. For the original underline support InterFormNG2 will remove the underlines of a spooled file, if the underline seems wrong, but if you do want the underlines of the input spooled files (even though InterFormNG2 thinks, that they should be left out), then you can with a special data area decide if you want the original underline handling or if you do want all the underlines to be included in the output.
The choice is setup with a data area called RMVUNDERLN in library IFORMNG2, which was introduced in version 4.0.2. This version was re-released, so if you are unable to find this data area, then you will with need to download the newest version from the Interform home page (
www.interform400.com).
You can verify if the data area exists with this command:
WRKOBJ OBJ(IFORMNG2/RMVUNDERLN) OBJTYPE(*DTAARA)
If
you can see this data area, then you need to change the value into 'Y',
which will change the support for underline characters in the input
spooled file, so that the underline characters of the spooled files are
now included in the .splf file, that you can work with in InterFormNG2.
You can change the value into 'Y' with this command:
CHGDTAARA DTAARA(IFORMNG2/RMVUNDERLN) VALUE('Y')
You can disable the option, if you change the data area into 'N' e.g. with this command:
CHGDTAARA DTAARA(IFORMNG2/RMVUNDERLN) VALUE('N')
Related Articles
Handling large spooled files in parallel
The processing of spooled files on an output queue is single threaded, so if you are processing larger spooled files (that takes longer to process and print), then smaller spooled files on the same output queue might wait for the processing of a ...
Merge multiple spooled files
This article describes one way to merge multiple spooled files together - similar to the function: Output Schedule Control (OSC) in InterForm400. The principle of Output Schedule Control is to wait for many spooled files of various types to arrive on ...
SPLF (spooled files)
Spooled files (splf) is one of the file types/payloads, that can be handled by the InterFormNG2 workflow. This is only relevant to the IBM i platform. The support for spooled file is covered here.
Spooled file support
InterFormNG2 is able to process spooled files, if you install InterFormNG2 on the IBM i platform. Please notice, that spooled file support, as well as Spool2XML, are modules for InterFormNG2, that are purchased separately. You can also use the ...
Spooled files in the workflow
This section covers all topics concerning automatic processing of spooled files in the InterFormNG2 workflow: How to monitor an output queue. Load a sample spooled file in the workflow editor Convert a variable CPI spooled file How to condition the ...