|
Eric, I think he's trying to get a pipe delimited file into an externally described pf, so if he does it with CPYFRMSTRF, the way you describe, he'll have the pipes in his physical and his fields/attributes won't line up. I'm not sure exactly what his problem is, but I think the solution involves using cpyfrmimpf instead. Rick "Ford, you're turning into a penguin. Stop it." - Arthur Dent -------Original message-------- Ok, I'll try again. There are special restrictions on the files you can target. >From help for TOFILE parm.... "The file may be either a source physical file or a program-described physical file. Source physical files with multiple data fields are not supported. If the database file is a source physical file, a sequence number and a date stamp of zeros is added to each record as it is copied to the database file member. " Try creating a flat file in QTEMP with the correct record length, then CPYF *NOCHK into your database file. Eric DeLong
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.