Hi,
we are using this function to validate a date.
COMPUTE RES-DATE-INT = FUNCTION INTEGER-OF-DATE (DATE8)
The problem is that when DATE8 contains an invalid date: 20230230, the execution stops with 181 error code:
error code: 181, pc=0, call=1, seg=0
181 Invalid parameter error
Is it possible to manage this situation? I mean, could we in some how to have some exception handling or similar?
We tried with TEST-DATE-YYYYMMDD function, but we receive a compilation error:
Invalid FUNCTION name TEST-DATE-YYYYMMDD
Is there any way to validate a date by using Visual Cobol functions?
Our VC release:
PRN=KXCRH/AAD:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Visual COBOL Development Hub 5.0 - Patch Update 05
PTI=Patch Update 05
Thanks in advance
#ExecutionError
#datevalidation