andrewducker (
andrewducker) wrote2010-01-07 04:05 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
The Y2010 bug
Next time someone says that the Y2K bug was a load of rubbish, point them at this example of what happens when people don't test their software/hardware before rolling over a minor date change.
no subject
Opinion seems to be it's likely down to code writing 10 into what it thinks is a decimal field when it's actually hex and the system thinking it's 2016. Thus the banks thought it was 2016 and therefore the bank cards had already expired and were rejected.
no subject
no subject
no subject
no subject
no subject
no subject
It's a bank, so I suspect it was two systems sharing data and specifying the format incompletely.
http://www.3480-3590-data-conversion.com/article-cobol-comp.html
If one is storing it as text (i.e. a two digit field with a number in each) and the other is expecting it in a binary format then there's scope for endless fun.
no subject
But yes. Write tests! as they say.
Apparently, "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
I hate PHP slightly less today :)
no subject
no subject
no subject
no subject
For toolchains, it can be run as one-line commands rather nicely.
Your setup is just weird! ;)
no subject
And I know that Perl is fast - but, largely due to its simplicity, COBOL is ridiculously fast when processing text. It's designed to run very close to the metal - and remap bits of memory to extract different bits of text out of structured flat files.
no subject
I'll admit, this is wholly outside my experience. But: no command line? Gah!?! Do you edit the inodes with magnets too? ;)
no subject
Or you write a job and then submit it to be processed.
http://en.wikipedia.org/wiki/Job_Control_Language
will copy OLDFILE to NEWFILE And yes, it is defining how much space to allocate there. In cylinders.
I am rather glad I don't do work in COBOL any more. :->
no subject
I'd ask why the hell are people still using this old crap, but... *sigh*
no subject
You'll be glad to hear that the modern bits of the system are being written in DB2, Java and C# :->