export fixed length problem

Dennis Malen dmalen at malen.com
Wed Nov 17 09:31:01 PST 2004


Ken,

The rest of the fields retain their defined number of characters. If their
are blank spaces it retains the defined lengths in the dummy fields. I sent
you a file last night for your review.

A(10) and A(10,*) is the dummy field that is caputuring the value of the
first field. The ".0" is the definition of the real field number 1 with a
length of 6 that becomes the value for A(10).

Whats happening is that the first field with a dummy field defined
definition of a length of 10 is being pushed to the left taking out the
blanks spaces. The real field number one has a definition of (6,.0). This
represents the first field which is being pushed to the left. So if real
field number one actually has a length of 5 or 6 or 4 it pushes the
beginning of the line to the left and takes out the blank spaces.

If there is something that is still not clear let me know. This is a very
frustrating problem.

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: Tuesday, November 16, 2004 7:56 PM
Subject: Re: export fixed length problem


> Dennis Malen wrote:
> >
> > Jeff,
> >
> > The -X does not work when you are opening and closing the file. I
presented
> > this to the group a couple of weeks ago and Ken and others suggested I
use
> > this approach. The problem is only the first field at this point. The
rest
> > of the fileds are fine.
> [...]
>
> You still haven't attached a file for us to see what you mean.  Your
> messages are giving conflicting information.
>
> How _exactly_ is the first field "wrong", and what _exactly_ do you mean
> by "the rest of the fields are fine"?
>
> Your original message said:
>
>     instead of the first field retaining its defined 10 characters, the
>     values are pushed to the left
>
> But your previous message said:
>
>     [moving from a .0 field] even though I am using a(10) or a(10,*) it
>     still retains its right justification
>
> Are things being "pushed to the left", or do they "retain their right
> justification"?
>
> Again, what _exactly_ is the problem, and can you show an actual file?
>
> -- 
>
+-------------------------+--------------------+----------------------------
-+
> | 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