I need a date validate dd/mm/yyyy, exist simple someway to validate, like numerics variables, that it is validated with IS NUMERIC?
Or have I that the day verify if value is 1 to 30 or 1 to 31 or 1 to 28 or 1 to 29, according with month and year?
Would somebody have example some?
01 DATE-YYMMDD.
05 WS-DATE-DD PIC XX VALUE SPACES.
05 FILLER PIC X VALUE '/'.
05 WS-DATE-MM PIC XX VALUE SPACES.
05 FILLER PIC X VALUE '/'.
05 WS-DATE-YY PIC XX VALUE SPACES.
05 WS-DATE-DD PIC XX VALUE SPACES.
05 FILLER PIC X VALUE '/'.
05 WS-DATE-MM PIC XX VALUE SPACES.
05 FILLER PIC X VALUE '/'.
05 WS-DATE-YY PIC XX VALUE SPACES.
Regards,
Marcelo Tamanini