Page 1 of 1

moving alphanumeric value to numeric pic clause

PostPosted: Thu Jan 07, 2010 5:05 pm
by manishgaikwad05
Hi All,

I want to move alphanumeric value to numeric comp-3 picture clause.
I have tried using Redefine clause but didnt succeeded.
please suggest.

Destination pic clause is : A pic 9(9) comp-3.

Re: moving alphanumeric value to numeric pic clause

PostPosted: Fri Jan 08, 2010 12:42 am
by dick scherrer
Hello,

If the data really is alphanumeric, you cannot move it to a comp-3 field. . . Well, you can, but it causes problems.

Only valid numeric values may be moved to and used by a field defined as comp-3.

If you clarify what actual data you have and the "rules" about how it should be dealt with someone may have a more useful reply than this one.

Re: moving alphanumeric value to numeric pic clause

PostPosted: Fri Jan 08, 2010 12:44 am
by dick scherrer
Hello,

And, redefining something improperly also causes problems. . .