|
|
| Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 160 Location: hyderabad
|
|
|
|
Hi all
i have a doubt,
is ther any intrinsic function in cobol to check whether,the given date is valid or not
thanks
siva |
|
| Back to top |
|
 |
References
|
Posted: Mon Mar 14, 2005 4:37 pm Post subject: Re: intrinsic function for checking date |
 |
|
|
 |
mainframemouli
Active User
Joined: 01 Mar 2005 Posts: 53 Location: Mysore
|
|
|
|
i don't think there is a sopecific function for date validness , but using the following date functions we can do that with some codings.
CURRENT-DATE
DATE-OF-INTEGER
DATE-OF-YYYYMMDD
DATEVAL
DATE-OF-INTEGER
DAY-OF-YYYYMMDD
INTEGER-OF-DATE
INTEGER-OF-DAY
UNDATE
WHEN-COMPILED
YEAR-TO-YYYY
YEAR-WINDOW
the name suggests its purpose of work. |
|
| Back to top |
|
 |
|
|