Problem solve Get help with specific problems with your technologies, process and projects.

Convert spooled files to HTML (CVTSPLHTM)

Command CVTSPLHTM converts a standard AS/400 spooled file to HTML format and places it in a folder in the QDLS location where it can be viewed by a browser. The destination folder(s) will be created if they do not exist. There is also logic to allow standard defaults for the job and spooled file parameters to reduce the amount of input requirements.

This tool could be useful for creating HTML examples of existing AS/400 reports that are available for use, emailing reports to internal/external clients, or for posting to a Web site for clients to view.

Click on these links to get the code for this tip:

Command Source Code
CL Source Code
RPG Source Code

Dig Deeper on RPG iSeries programming