CPYTOIMPF does indeed output just one column. There are a couple of vendor 
products out there that also promise to convert your spool file into CSV files 
but one product I checked out once did the same thing. (I don't think it was 
one of the vendors who offered products hereing).

There is "heavy lifting" like Vernon said, is "getting the data out" from the 
spool file, because there are your inevitable title lines and column headings. 
Then sometimes you get extra little lines in between, variable numbers of lines 
per record, and so on. 

But with all that, some new report programs I've had to do were a lot easier to 
do by writing code to extract it. A good commercial product could automate 
almost all of this I think, and would generally come as part of another 
software product, like report distribution, etc. 

--Alan




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of PaulMmn
Sent: Tuesday, April 25, 2006 8:40 AM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Easiest and most functional way to convert selected
spoolfilesinto Excel


Did anyone mention CPYTOIMPF  (check spelling)...  this command will 
copy a flat file to a CSV format file and put it in the IFS folder of 
your choice.  CSV is readable by Excell.  CPYTOIMPF is free; comes 
with OS/400.

--Paul E Musselman
PaulMmn@xxxxxxxxxxxxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.