Y2K Awareness & Methodology By Azhagarasan A
My Profile §Azhagarasan a.k.a “Manoj” § 3 yrs with Infosys §Executed more than 5 year2000 projects in India and USA
Awareness
Why is Y2K a problem? § To save money. The price of a megabyte (~1 million characters) of disk storage has dropped from about $10,000 thirty years ago §The price of a megabyte (~1 million characters) $0.03 today
Why is Y2K a problem? Cont... §Compiler Restriction Request of system time return year in YY format
What is Affected? §Traditional "computer" systems -- those that we would easily identify as computers, with a keyboard, monitor, and perhaps a mouse or printer. § Embedded devices -- machines with computers built into them, such as automated teller machines, water softeners, gas meters, cars, trucks, and parking meters. §Process Control systems -- automated factories and plants.
Examples of Y2K Problems §Consider a computer program that is calculating a mortgage term. The general formula is: Mortgage term = (End year) - (Start year) Thus, for a 5-year term starting in 1993: Mortgage term = = 5 years But consider a mortgage that spans the century boundary, starting in 1998: Mortgage term = = -95
Examples of Y2K Problems §Here's a more interesting example. Consider that the elevator systems in Skyscrapers are programmed to shut down most of the elevators (say, 12 out of 15) on weekends. 01/06/1900 is a Saturday, but 01/06/2000 is a Thursday. On that first Thursday of 2000, an elevator system that uses a 2-digit date representation may believe that it is a Saturday, and switch to its weekend program. Annoying, but not fatal; some security guard somewhere will probably be able to use his override key to get things working the way they should.
Examples of Y2K Problems Consider a machine that performs an automatic cleaning cycle every 4 days. To determine when a cleaning is required, it subtracts the date of the last cleaning from the current date; if the answer is 4 or more, the cleaning cycle starts. On January 4, 2000, this machine checks to see if a cleaning is required: 01/04/00-12/31/99 = days Since is less than 4, the cleaning cycle does not commence. In fact, the machine never again starts a cleaning cycle.
Y2K Scene
Methodology
IT Industry Railway Reservation Banking Insurance Retailing Industry Distribution Automation Communication
Few Terminology §Work stations l PC §Mini computers l a computer able to serve 100 users §Mainframe l a computer able to serve 1000s of users §Files system l Storing records §Database systems l Storing related information
Few Terminology §Formats of dates l JulianYYDDD l GregorianYYMMDD l YearCCYY §Date scale boundary - 00 & 99
Misunderstandings & Misconceptions Will bomb only after 31 Dec Just a Hardware clock problem Mainframe dependent
Recap... l Year 1900 and 2000 are indistinguishable as both are represented by “00” and so on l All date arithmetic, comparisons and sorts fail as year 2000 is considered to be earlier than 1999 l Dates “00” and “99” might have been used to represent the beginning and end of ‘date scale’ and cannot be used henceforth
How to make systems Y2K compliant? Recommendations §Expansion l Use 4 digit year §Handle in logic l Static window l Dynamic / Sliding Window l Changes to screen & report layouts
How to make systems Y2K compliant? §Expansion l YY to CCYY l YY to CYY Madatory option - Indexing Approaches
Remediation Techniques Window = 1980 to 2079 §Static Window IF YEAR-YY < 80 MOVE 20 TO CENTURY-CC ELSE MOVE 19 TO CENTURY-CC §Dynamic Window IF YEAR-YY < CUTOFF-YEAR MOVE 20 TO CENTURY-CC ELSE MOVE 19 TO CENTURY-CC
Solutions - Case study Cases: § Comparison/Loops § Arithmetic § Sorting in an Order § Hard-coded Logic
IF/Perform §IF YYMMDD-1 > YYMMDD-2 l IF > IF > l IF 1999 > 2005 IF 99 > 05
Subtract/Compute §Difference in years/days l YYDDD-1-YYDDD-2 l l l YY-1-YY-2 l l
SORT §SORT a report BY Name YYMMDD §SORT a report BY Name YY Use CCYY/CCYYMMDD § § § § §…….
A report.
Easiness of the solutions !? §Time/Effort/Resources/Skill sets §Find and Fix in Millions of SLOC §Testing before 2000 l May even bomb before 2000 Insurance Credit card validation Telephone/utility bill payments §Not a search and replace problem
Tools availability Product NameCompanyPlatform IN 2000InfosysWINDOWS 95, WINDOWS 3.x Challenge 2000Micro FocusWINDOWS NT, DOS System vision PlatinumMVS/ESA year 2000 Cayenne 2000Cayenne WINDOWS 3.x 95 Software and NT CA - ImpaceCA Inc.IBM/370,OS/VS DOS/VS, MVS/ESA Table BaseData KineticsIBM MVS,VSE
Tools availability Product NameCompanyPlatform D-Day 2000Diamond optimum SystemsHP UNIX, SUN SLOARIX, WINDOWS NT Manage 2000Intersolv-IncWINDOWS 3.x, 95, OS2, UNIX Bridge 2000Lexi BridgeSYSBASE, SQL SERVER, ORACLE DB/2, INFORMIX, POWER BUILDER MILLENIUM Vision net system Inc.AS/
Legal Threats to Software Vendors §Y2K problem has been given a major popularity by the media §Software vendors cannot claim ignorance
Legal Threats to Software Vendors §Law-suits may be filed on following counts l professional malpractice and gross negligence l fraud and misrepresentation
Legal Threats to Software Vendors §Legal system may not show any sympathy to software vendors
§Have we come to an end ?!!!
Thank U!