Wow. Thanks for proving you know nothing about programming. How a date function works really doesn't tell us how a specific date is calculated or stored. COBOL was developed and used at a time when processing time and storage were limited. There was no need to use 4 digits for years since you really don't need to use a time frame longer than 100 years or 150 years. You would use less storage by having a starting date that everything is calculated from. If you use 1875 as your start year then for data from 2000, you only need to store the number 125 instead of the number 2000. It reduces your storage needs and your need to read from slow storage devices.I did. COBOL also doesn't default to 1875. "Toshi" obviously has never programmed in COBOL.
COBOL - Date Function - COBOL Tutorial
www.ibmmainframer.com
COBOL ACCEPT System Date Example
COBOL is an acronym for COmmon Business Oriented Language which is primarily developed for business, finance and administrative system needs. COBOL is high-levewww.mainframestechhelp.com
Processing Date entries - COBOL General discussion
Hi everyone, I am looking for a COBOL command to separate a given date (stored in a 8 digit variable under the form YYYY-MM-DD) into three separate variables one for the year, the month and the day. Can anybody help me with this? Thanks I.V.www.tek-tips.com
The real problem here is the refusal by Congress to allocate enough money to update the IRS software. Cutting employees certainly isn't going to result in updating old code. All the existing databases would need to be redone and updated to work with any new programming.