Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
So is there any way by which we can handle this in COBOL
Most mainframe development environments have a local implementation of code for data validation that is called.
Suggest you ask if such a data validation routine is available on your system.
It is quite wasteful to code/maintain an entire date validation routine in every program that works with a date that needs to be validated. . . The common routine (if it exists), CEEDAYS, or SQL are all better choices than a custom set of code. . .