maximum dummy field length
Dennis Malen
dmalen at malen.com
Wed Sep 12 13:14:47 PDT 2007
Dennis Malen
516.479.5912
----- Original Message -----
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: <filepro-list at lists.celestial.com>
Sent: Wednesday, September 12, 2007 3:14 PM
Subject: Re: maximum dummy field length
Quoting Dennis Malen (Wed, 12 Sep 2007 15:06:17 -0400):
> I have created this processing many times. It involves the use of a dummy
> field which captures the length of one string of information which is 6000
> characters in size.
>
> The dummy field is A(6000,*).
No problem there.
> When importing a string of information into the dummy field and upon
> viewing
> the contents of the value of A, it only brings in information up to the
> 2,399th position and drops everything else.
Define:
"importing a string of information into a dummy field"
This is the import string:
import ascii pra=/tmp/nan.wp r=\n f=\n
- - - - - - - - - - - -
not pra
end
- - - - - - - - - - - -
'entire record read in as dummy field "a"
a(6000,*)=pra(1)
"viewing the contents of the value of A" (How do you view a field
larger than the screen?)
We exported the field and opened up the document in notepad which counts the
characters.
In addition, we used the mid statement to pull in what exists after position
2399 and it was blank and we know that there is data beyond 2399 by viewing
the file our client sent us in notepad.
> This is the first time I am using a dummy field with the length of 6000,
> but
> that is what we are getting from our client. I could truncate it but will
> that be necessary?
It shouldn't be, as the limit is 32767.
> Documentation indicates that a dummy field can have a length of up to
> 32,768.
Correct.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list