|
-- You have to build a variable length string... We build a single variable length string. Trim all the values and use %editc or %editw to handle numerics. Put a Tab between each field and run it through our p$CV_Output procedure. It's published at... http://www.cm-inc.com/Apps/iSeries/Utilities/DspSrcPFM.asp?Library=BOGP&File=CMGPSRC&Member=CV1_PROCS Then we write the results to a internally described file and use CPYTOPCD, CPYTOIMPF or CPYTOSTMF to convert the data to ASCII (Embedded image moved to file: pic02523.pcx) "Tracy Ball" <tball@totalresponse.com> Sent by: rpg400-l-admin@midrange.com 11/22/2002 12:01 PM Please respond to rpg400-l To: <rpg400-l@midrange.com> cc: Fax to: Subject: RE: Assign a Value I finally figured out how to do both, however, that extra spaces are not eliminated. Is there a way to get it to look like a true CSV format? -Tracy Ext. 3107 -- [ pic02523.pcx of type application/octet-stream deleted ] --
As an Amazon Associate we earn from qualifying purchases.
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.