Really stuck on how to retrieve the current date into an 8,0 numeric format in free form RPG/LE.
(this was so easy with C specs...)
Result must be YYYYMMDD.
Code snippet as follows:
...
D ThisDate S D
D Num80 S 8 0
//free
ThisDate = %Date(); // retrieve current date.
Num80 = ???; // (need help with this piece)
//End-Free
(this was so easy with C specs...)
Result must be YYYYMMDD.
Code snippet as follows:
...
D ThisDate S D
D Num80 S 8 0
//free
ThisDate = %Date(); // retrieve current date.
Num80 = ???; // (need help with this piece)
//End-Free
Comment