Previous Topic: Spooled File RouterNext Topic: Retrieve Spooled File Attributes (YRTVSPLFA)


Convert Spooled File (YCVTSPLF)

The Convert Spooled File (YCVTSPLF) command lets you convert an IBM i spooled file to a PC file in text, HTML or PDF formats. You can then send the file by e-mail or other PC file transfer methods and manipulate the file by PC software. The YCVTSPLF command is a stand-alone command in the Toolkit product.

When more than one spooled file with the same name exists for the specified job, an interactive window appears so that you can select a spooled file. If duplicate jobs contain the specified spooled file, an error message is sent.

Conversion options are held in a file called YCVTOPTP (prior to 8.0 the options were held in YCVTSPP). This file allows you to specify not only user-specific options, but also file-specific options. When you specify file-specific options, you can specify whether you want header lines to be removed from the spooled file when it is converted. When converting a spooled file, you can now specify the special CVTOPT(*FILE) value, to indicate that you want to use the conversion options with the same name as the spooled file name. You can add or change conversion options by using the YCHGCVTOPT command, which includes on-line help.

You can copy the YCVPSPLF command to any of your IBM i machines, and run it there, even if the machine in question does not have the full CA 2E Toolkit product installed.