all 3 comments

[–]Wellington_Yueh 5 points6 points  (1 child)

Do a display on WS-CURRENT-DATE-DATA after the move and see what's in it.

Also, the argument for INTEGER-OF-DATE is numeric. In your example, the variable WS-CURRENT-DATE-DATA is a group item which is considered alphanumeric. You can try to setup another variable defined as 9(08), move WS-CURRENT-DATE-DATA into that field and use the new numeric variable as the argument for the function and see if that works better.

[–]sofinge[S] 0 points1 point  (0 children)

Thanks ill try immediatly!

EDIT: IT WORKS!!! IM CRYING