Skip to Content
0
Former Member
Mar 15, 2007 at 03:01 AM

Help with insert into table, using work area.

269 Views

Hi,

What maybe wrong with the insert statement.

tables hrp9007.

data testtab type hrp9007.

testtab-plvar = '99'.

testtab-istat = '1'.

testtab-begda ='03/14/2007'.

testtab-endda = '12/31/9999'.

insert into hrp9007 values testtab.

select single begda from hrp9007 into subloc

where plvar eq '99'.

I am getting garbage value when I print "begda"

Regards.

Srinivas