× 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.



Could it be as a result of the original files format? IIRC, to do a "tostmf"
correctly an existing stmf had to exist already.

Try creating a .csv file formatted as you want the end result to be and
overwrite that and see what happens.



-----Original Message-----
From: Joe Giusto [mailto:jgiusto@xxxxxxxxxxxxxx]
Sent: Wednesday, June 25, 2003 1:03 PM
To: Midrange Systems Technical Discussion
Subject: CPYTOIMPF and numerics > 15 Digits


I search the archive and could not find an answer.  Here is the situation:
When trying to do a CPYTOIMPF to create a .CSV file, we have an alpha field
that is 16 long and most times contains all numbers.  This field gets
converted as a numeric, which is o.k. but the last digit is always replaced
by a zero.  

Is there a limitation on the size of numeric values or am I missing some
option on the command prompt?
Here is the command with parms that we are using:

CPYTOIMPF FROMFILE(TPPVALUEGC)         
          TOSTMF('/juice/test.csv')    
          RCDDLM(*CRLF)                

TIA


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.