IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

intrinsic function for checking date


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Mon Mar 14, 2005 4:37 pm
Reply with quote

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
View user's profile Send private message
mainframemouli

New User


Joined: 01 Mar 2005
Posts: 52
Location: Mysore

PostPosted: Tue Mar 15, 2005 12:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Calling an Open C library function in... CICS 1
No new posts DATE2 function SYNCSORT 15
Search our Forums:

Back to Top