Skip to main content

[archive] Date format and Acu4gl

  • April 19, 2010
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 19 April 2010]

I want to connect with an existing database.
I know that a certain DATE-FIELD also must have a time.
When I do this : XFD DATE=DDMMYY.
01 ws-date pic 9(6).
It works fine.
But I have to update the time aswell.
When I do this : XFD DATE=DDMMYYYYHHMMSS.
01 ws-date pic 9(14).
I get error 39,02 when I run my program.

Any suggestions?

1 reply

[Migrated content. Thread originally posted on 19 April 2010]

I want to connect with an existing database.
I know that a certain DATE-FIELD also must have a time.
When I do this : XFD DATE=DDMMYY.
01 ws-date pic 9(6).
It works fine.
But I have to update the time aswell.
When I do this : XFD DATE=DDMMYYYYHHMMSS.
01 ws-date pic 9(14).
I get error 39,02 when I run my program.

Any suggestions?
never mind, solved it.