Top Banner
Y2K Awareness & Methodology By Azhagarasan A By Azhagarasan A
32

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.

Jan 17, 2016

Download

Documents

Cameron Fowler
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 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.

Y2K

Awareness & Methodology

By Azhagarasan ABy Azhagarasan A

Page 2: 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.

My Profile

Azhagarasana.k.a “Manoj”

3 yrs with InfosysExecuted more than 5

year2000 projects in India and USA

Page 3: 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.

Awareness

Page 4: 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.

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

Page 5: 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.

Why is Y2K a problem? Cont...

Compiler Restriction

Request of system time return year in YY format

Page 6: 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.

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.

Page 7: 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.

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

Page 8: 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.

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.

Page 9: 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.

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.

Page 10: 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.

Y2K Scene

Page 11: 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.

Methodology

Page 12: 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.

IT Industry•Railway Reservation

•Banking

•Insurance

•Retailing Industry

•Distribution

•Automation

•Communication

Page 13: 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.

Few Terminology

Work stations PC

Mini computers a computer able to serve 100 users

Mainframe a computer able to serve 1000s of users

Files system Storing records

Database systems Storing related information

Page 14: 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.

Few Terminology

Formats of dates

Julian YYDDD Gregorian YYMMDD Year CCYY

Date scale boundary - 00 & 99

Page 15: 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.

Misunderstandings & Misconceptions

• Will bomb only after 31 Dec 1999.

• Just a Hardware clock problem

• Mainframe dependent

Page 16: 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.

Recap ...

Year 1900 and 2000 are indistinguishable as both

are represented by “00” and so on

All date arithmetic, comparisons and sorts fail as

year 2000 is considered to be earlier than 1999

Dates “00” and “99” might have been used to

represent the beginning and end of ‘date scale’

and cannot be used henceforth

Page 17: 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.

How to make systems Y2K compliant?

Rec

omm

enda

tion

s

Expansion Use 4 digit year

Handle in logic Static window Dynamic / Sliding Window Changes to screen & report layouts

Page 18: 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.

How to make systems Y2K compliant?

Expansion

YY to CCYY YY to CYY

• Madatory option - Indexing

App

roac

hes

Page 19: 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.

Remediation TechniquesWindow = 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

Page 20: 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.

Solutions - Case study

Cases:

Comparison/Loops Arithmetic Sorting in an Order Hard-coded Logic

Page 21: 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.

IF/Perform

IF YYMMDD-1 > YYMMDD-2

IF 1999 12 31 > 2000 12 31• IF 991231 > 001231

IF 1999 > 2005• IF 99 > 05

Page 22: 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.

Subtract/Compute

Difference in years/days

YYDDD-1 - YYDDD-2 2005 365 - 1999 365 05365 - 99365

YY-1 - YY-2 2005 - 1980 05 - 80

Page 23: 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.

SORT

SORT a reportBY Name

YYMMDD

SORT a reportBY Name

YY

Use CCYY/CCYYMMDD

19701122 70112220101122 10112219501122 50112220001122 001122…….…….…….

Page 24: 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.

A report.

PO #:________ Date : ___/___/ 19 ___

Customer #:_______ Amount : ___________

Page 25: 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.

Easiness of the solutions !?

Time/Effort/Resources/Skill setsFind and Fix in Millions of SLOCTesting before 2000

May even bomb before 2000• Insurance

• Credit card validation

• Telephone/utility bill payments

Not a search and replace problem

Page 26: 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.

Tools availability

Product Name Company Platform

IN 2000 Infosys WINDOWS 95, WINDOWS 3.x

Challenge 2000 Micro Focus WINDOWS NT, DOS

System vision Platinum MVS/ESAyear 2000

Cayenne 2000 Cayenne WINDOWS 3.x 95 Software and NT

CA - Impace CA Inc. IBM/370,OS/VSDOS/VS, MVS/ESA

Table Base Data Kinetics IBM MVS,VSE

Page 27: 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.

Tools availability

Product Name Company Platform

D-Day 2000 Diamond optimum Systems HP UNIX, SUN SLOARIX, WINDOWS NT

Manage 2000 Intersolv-Inc WINDOWS 3.x, 95, OS2, UNIX

Bridge 2000 Lexi Bridge SYSBASE, SQL SERVER, ORACLE DB/2, INFORMIX, POWER BUILDER

MILLENIUM Vision net system Inc. AS/400400

Page 28: 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.

Legal Threats to Software Vendors

Y2K problem has

been given a major

popularity by the

media

Software vendors

cannot claim

ignorance

Page 29: 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.

Legal Threats to Software Vendors

Law-suits may be

filed on following

counts professional

malpractice and gross

negligence

fraud and

misrepresentation

Page 30: 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.

Legal Threats to Software Vendors

Legal system may

not show any

sympathy to

software vendors

Page 31: 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.

Have we come to an end ?!!!

Page 32: 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.

Thank U!