Download presentation
Presentation is loading. Please wait.
Published byCameron Fowler Modified over 9 years ago
2
Y2K Awareness & Methodology By Azhagarasan A
3
My Profile §Azhagarasan a.k.a “Manoj” § 3 yrs with Infosys §Executed more than 5 year2000 projects in India and USA
4
Awareness
5
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
6
Why is Y2K a problem? Cont... §Compiler Restriction Request of system time return year in YY format
7
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.
8
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 = 98-93 = 5 years But consider a mortgage that spans the century boundary, starting in 1998: Mortgage term = 03-98 = -95
9
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.
10
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 = -36520 days Since -36520 is less than 4, the cleaning cycle does not commence. In fact, the machine never again starts a cleaning cycle.
11
Y2K Scene
12
Methodology
13
IT Industry Railway Reservation Banking Insurance Retailing Industry Distribution Automation Communication
14
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
15
Few Terminology §Formats of dates l JulianYYDDD l GregorianYYMMDD l YearCCYY §Date scale boundary - 00 & 99
16
Misunderstandings & Misconceptions Will bomb only after 31 Dec 1999. Just a Hardware clock problem Mainframe dependent
17
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
18
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
19
How to make systems Y2K compliant? §Expansion l YY to CCYY l YY to CYY Madatory option - Indexing Approaches
20
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
21
Solutions - Case study Cases: § Comparison/Loops § Arithmetic § Sorting in an Order § Hard-coded Logic
22
IF/Perform §IF YYMMDD-1 > YYMMDD-2 l IF 1999 12 31 > 2000 12 31 IF 991231 > 001231 l IF 1999 > 2005 IF 99 > 05
23
Subtract/Compute §Difference in years/days l YYDDD-1-YYDDD-2 l 2005 365 - 1999 365 l 05365 - 99365 l YY-1-YY-2 l 2005 - 1980 l 05 - 80
24
SORT §SORT a report BY Name YYMMDD §SORT a report BY Name YY Use CCYY/CCYYMMDD §19701122701122 §20101122101122 §19501122501122 §20001122001122 §…….
25
A report.
26
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
27
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
28
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/400 400
29
Legal Threats to Software Vendors §Y2K problem has been given a major popularity by the media §Software vendors cannot claim ignorance
30
Legal Threats to Software Vendors §Law-suits may be filed on following counts l professional malpractice and gross negligence l fraud and misrepresentation
31
Legal Threats to Software Vendors §Legal system may not show any sympathy to software vendors
32
§Have we come to an end ?!!!
33
Thank U!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.