Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is Binary Date?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Dec 24, 2008 4:44 pm    Post subject: What is Binary Date?
Reply with quote

Hi,

Does any body know what is binary date and how it is calculated.
Will it be of length S9(4) COMP.

Please reply if you have any idea.

Thanks,
Habib.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Dec 24, 2008 5:17 pm    Post subject: Reply to: What is Binary Date?
Reply with quote

take a look at the integer-of-date function
Back to top
View user's profile Send private message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Dec 24, 2008 6:19 pm    Post subject:
Reply with quote

Thanks enrico..

I got how binary-date is calculated by looking at interger-of-date function.

This Integer format/Binary date is the number of days since some predetermined, fixed date like 1/1/0001.

bye,
habeeb.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 25, 2008 2:44 am    Post subject: Re: What is Binary Date
Reply with quote

A binary date can also be interpreted as Lilian Days.

Note that the resulting number of Lilian Days when using the COBOL FUNCTION, is based upon a starting date of 1601/01/01 (day one), whereas when using the LE Callable Services such as CEEDAYS, the resulting number of days is based upon a starting date of 1584/10/15 (day one).

You can override the FUNCTION starting date via a compile option, but that's not recommended.

HTH....

Regards,

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts resume binary ftp in z/os meykh2014 All Other Mainframe Topics 2 Sun Jan 22, 2017 10:01 am
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us