export fixed length problem

Kenneth Brody kenbrody at bestweb.net
Tue Nov 16 13:49:19 PST 2004


Dennis Malen wrote:
[...]
> I do I get my processing on the first field at the beginning of the line to
> retain its defined size of 10 characters.
> 
> Here is the processing that I consider relevant:
> 
> pn="/tmp/C"{nx{".wp"
> 
> export ascii rnf=(pn) -a
> 
> a(10,*)=rc;b(9)=sm;c(40)=ww;d(40)=ms;e(40)="";f(40)=mc;g(2)=me
> 
> rnf(1)=a&b&c&d&e&f&g&h&chr("10");ct=ct+"1";write rnf           'IS THE PROBLEM
> ON THIS LINE??
> Note: a(10,*), why can't it retain its value of 10 characters?

Zip up and attach a sample export file of a few records.  Without seeing
the actual export, we can only guess.

What is in field rc for the included records?  (Include any leading and
trailing spaces in your description.)

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody/at\spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap at gmail.com>



More information about the Filepro-list mailing list