× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Shannon--

See Doug already pointed this out about Paul's answer, sending this anyway as it has a possible explanation and other examples.

Unless already have, might try doing a similar program run for ' and " as these can sometimes cause strings to terminate early, which is close enough to truncation that it might generate such a message in parsing, while the program might be able to still transfer it "properly" using the comma delimits.

"15" Pizza"
'Roberto's Pizza'

thx & hth,

--Jerome Hughes


On Aug 9, 2006, at 4:46 PM, Shannon ODonnell wrote:

I wrote a program to do a character count on commas (the delimiter for this file) for one of the failing records and a couple that did not fail and
there were the same number of commas.  But that was a good thought.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of pnelson@xxxxxxxxxx
Sent: Wednesday, August 09, 2006 4:29 PM
To: Midrange Systems Technical Discussion
Subject: Re: CPF2973 - CPYFRMIMPF

Have you got any data in the file that could contain commas or quotes on top of what you would expect as separators? Something like Rob's famous
item description:    Pizza, 15"
--

Paul Nelson
Arbor Solutions, Inc.
708-670-6978  Cell
pnelson@xxxxxxxxxx




"Shannon ODonnell" <sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces+pnelson=arbsol.com@xxxxxxxxxxxx
08/09/2006 03:23 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc

Subject
CPF2973 - CPYFRMIMPF






Hello,



I have a database (PF) that is 788 characters long (one single field).
Stored in it is a CSV file. I use CPYFRMIMPF to copy it to another PF,
also
788 characters long, but this one made up of many fields.



Most records from the first file will copy to the second file without
problems. However, about 10% of them copy fine, but kick out the CPF2973 -
Data from file *1 truncated to x-number of characters.



The records that cause this error do not appear to be different in any way
from the ones that do not cause the error.



Neither file has null capable fields and both files are the same CCSID.



I've found some PTF's for V5R3 that address an potential problem with
CPYFRMIMPF but none appear to be directly related to this particular
problem.



Has anyone else experienced a problem with CPYFRMIMPF on V5R3 such as I describe, or can anyone offer a suggestion of something to try/look into?



Thank you,



Shannon O'Donnell

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.