To create an AS400 (IBM i) output queue (OUTQ) that automatically converts spoolfiles into PDFs and saves them to the Integrated File System (IFS), follow these steps:
- Install a third-party software tool on AS400 system that supports spoolfile to PDF conversion. Popular options include:
- SpoolMail/400 by Fortra (formerly HelpSystems)
- CoolSpools by ariadne software
- Robot/TRANSFORM by HelpSystems
- Configure the software according to the vendor’s instructions, specifying the desired output format (PDF) and the IFS directory where the converted files should be saved.
- Create a new output queue or modify an existing one to use the installed software as a “printer writer.” This directs the spoolfiles to the conversion tool instead of a physical printer. For example, using the CRTOUTQ command:
CRTOUTQ OUTQ(PDFOUTQ) RMTSYS(*INTNETADR) CNNTYPE(*IP) TRANSFORM(*YES) MFRTYPMDL(*WSCST)
- Set up a “remote output queue” in the software configuration, pointing to the AS400 output queue created in step 3.
- Generate spoolfiles on the AS400 as usual, directing them to the new output queue. The software will automatically retrieve the spoolfiles, convert them to PDFs, and save them to the specified IFS directory.
Some additional tips:
- Ensure the AS400 user running the conversion software has the necessary permissions to access the IFS directory.
- Consider setting up a job scheduler (e.g., IBM Advanced Job Scheduler) to manage the conversion process and clean up old spoolfiles.
- Test the setup thoroughly with various spoolfile types and sizes to ensure reliable conversion and performance.
By implementing this automated spoolfile to PDF conversion, you can streamline AS400 output management and easily access documents from the IFS. This efficient solution saves time and enhances productivity, making it a valuable asset for any AS400 environment.