Ali
If Toms solution does not work I suggest you place a . or some other character on each line you wish to appear blank.
Another way would be to write a simple program to interpret the FCFC and insert form feeds and line feeds. I would write the output to the IFS then map a drive.
Steve Bowdoin
Main Topics
Browse All Topics





by: tliottaPosted on 2009-09-18 at 15:19:59ID: 25370463
Ali:
You can write a program to process the file created by CPYSPLF, but it's not clear if that's what you need.
Is this going to be a regular report that is run periodically or just a one-time copy?
One way to get a one-time copy is to [Add Printer] on your workstation, and then to create the printer as a generic 'Local printer' using port 'FILE: [Print to File]'. Open the spooled file in iSeries Navigator connection-> Basic Operations-> Printer Ouput, and choose [Print...] from the viewer menu when the viewer displays the spooled file. Set the printer to your new [Print to File] printer.
After the text file has been written, open it with Wordpad to see if it's what you're trying to achieve.
Tom