Skip to Content
0
Former Member
Jan 08, 2008 at 03:13 PM

Move space to Date & Numc type fields

609 Views

Hi Experts,

I have data declaration like this.

data :

char1(10) type c,

dat1 type dats,

num1 type numc.

Now i want to move spaces to all of them based on certain conditions. So i use

move : space to char1,

space to dat1,

space to num1.

for char1 it displays empty but for dat1 it shows - - or / /

and for num1 it shows 000 (depending on length of field).

Now how do i fully clear the char1 and num1 field as well?

thanks

Dany