To convert text files to CSV files specify the file extension for the attachment in the user-defined data attribute of the spool file. Use the syntax of
EXT:CSV~
This syntax makes the file extension of the attachment be CSV.
Whatever is between the colon and the tilde will be the extension for that report.
There is also a global setting for text conversions in Settings. But the global setting is just that: It affects every text conversion. Using the syntax in the user-defined data attribute as shown above gives you more precise control.
You can use the syntax in the following commands:

  • CRTPRTF
  • CHGPRTF
  • OVRPRTF
  • (V5R3 or later) with option 2 in WRKOUTQ and WRKSPLF, which executes CHGSPLFA

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016