thelearner
Programmer
Hi everyone,
I'm very new in RPG free format and I found that the date function is rather pain in the bud. If I want to move a numeric field to a date field I have to check that my original field contain a valid date before I move.
Another case is that when I define an output field, in O spec, as a date field and my input field does not have a data. Even I check the input field and not do the move if there is no data, the output field still contain some default value (or should I say junk data).
I didn't have to do these extra steps in RPG400.
Any comment, anyone!
I'm very new in RPG free format and I found that the date function is rather pain in the bud. If I want to move a numeric field to a date field I have to check that my original field contain a valid date before I move.
Another case is that when I define an output field, in O spec, as a date field and my input field does not have a data. Even I check the input field and not do the move if there is no data, the output field still contain some default value (or should I say junk data).
I didn't have to do these extra steps in RPG400.
Any comment, anyone!