Skip to Content
0
Former Member
Apr 22, 2008 at 03:20 PM

WRITE MM/DD/YYYY not working

285 Views

I'm having the following issue:

When I try to use the statements:

WRITE p0002-gbdat TO w_hire-gbdat DD/MM/YYYY.

OR

WRITE p0002-gbdat DD/MM/YYYY to w_hire-gbdat.

I always get a date formatted as MM/DD/YYYY in w_hire-gbdat.

I tried changing my date parameter and the result was still the same.

p0002 is type dats 8 and

w_hire-gbdat is type char 10.

Any thoughts?