Last active
August 29, 2015 14:25
-
-
Save pdemby/a34df006de99f4c63f55 to your computer and use it in GitHub Desktop.
DateFunc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01 WS-DATE-IN PIC X(8). | |
01 WS-DATE-IN-NUM REDEFINES WS-DATE-IN PIC 9(8). | |
01 WS-DATE-OUT. | |
05 WS-DATE-OUT-CC PIC XX. | |
05 WS-DATE-OUT-YY PIC XX. | |
05 WS-DATE-OUT-MM PIC XX. | |
05 WS-DATE-OUT-DD PIC XX. | |
01 WS-DATE-OUT-NUM REDEFINES WS-DATE-OUT PIC 9(8). | |
01 WS-DATE-TEMP PIC 9(8) VALUE 0. | |
01 WS-DAYS PIC 9(3) VALUE 0. | |
01 WS-CCYYMMDD PIC 9(8). | |
01 OUTPUT-DATE PIC 9(8). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment