With InterFormNG2 you restore a spooled file in two manners:
- You can download a loaded spooled file from the InterFormNG2 library, and upload it into the library (same procedure as an XML file) of another InterFormNG2 installation e.g. on a windows machine to create a fitting template in the designer. This is however not restoring the full spooled file, but only the contents.
- You can also do a real restore of a spooled file, that was previously saved in e.g. InterForm400 or InterFormNG2 with the command, IFORMNG2/SAVSPLF.
Below the second option is covered
A real restore of a saved spooled file can be done with the command, IFORMNG2/RSTSPLF. In order to run the command you need to get to a command line in a 5250 session.
The command has these parameters:
Restore splf from stream file (RSTSPLF)
Type choices, press Enter.
From stream file . . . . . . . . . . . . . . . FROMSTMF
Output queue . . . . . . . . . . . . . . . . . OUTQ *JOB Name, *JOB
Library . . . . . . . . . . . . . . . . . . . Name, *LIBL
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Bottom
- From stream file
The path and file name of the stream file in the IFS, that contains the saved spooled file. - Output queue
The output queue, that you want to restore the spooled file to. - Library
The library of the output queue, that you want to restore the spooled file to.
Related Articles
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 ...
Save a spooled file without InterFormNG2
The section below describes how to save an IBM i spooled file with InterFormNG2. For a proof of concept we might ask you for a copy of a sample spooled file. This should not be confused with a text file with the same contents as the spooled file. The ...
Change spooled file attributes
As a part of the processing of an input spooled file in the workflow, you might want to change one or more spooled file attributes e.g. to inform the end users, that the input spooled file has been processed successfully in InterFormNG2. To change ...
Spooled file actions
As part of spooled file processing in InterFormNG2 on the IBM i platform, you may need to delete, hold, or move the input spooled file to notify the end user that the specific spooled file has been successfully processed. You can also change a ...
Post-process spooled file
As a part of spooled file processing in InterFormNG2 on the IBM i platform, you might want to delete, hold or move the input spooled file to let the end user know, that the specific spooled file has been successfully processed. You can also change a ...