Industry


Ads by TechWords

See your link here


Sharky's picture
Sharky

Shark Tank

Doin' it old-school style

This pilot fish has watched his IT shop grow from a single IBM minicomputer to dozens of servers connected to hundreds of PCs over the past 20 years.

"My background is general operations management, not IT," says fish. "But over the years I took various university IT courses including assembler, and did a fair amount of programming.

"Seven or eight years ago I turned the direct management of IT over to another, but occasionally I sit in on a department meeting. In one, they were discussing a problem with a recently installed EDI system."

Actually, everything is running smoothly except for one customer's orders, which fail about 25% of the time.

The IT department and the software vendor have worked on the problem for weeks, and they've narrowed it down to cases where one specific person uses a semicolon in the order -- but beyond that they're stumped.

Hmm, says fish, has anyone looked at the numeric value of that ASCII semicolon character, or the value after it has been translated to EBCDIC?

It takes a few minutes to round up a byte editor. But after that, it doesn't take long to check one of the problem orders. And sure enough, while the offending character is displaying as a semicolon, the incoming numeric value isn't ASCII value 59 -- a real semicolon -- but something over 128.

"When translated to EBCDIC it was displaying as a semicolon too, but the program was choking on the processing of this rogue character," fish says.

"Score one for the old guy who had a little experience with some of the old-school basics of character encoding!"

Encode your true tale of IT life for Sharky in ASCII and send it to me at sharky@computerworld.com. You'll snag a snazzy Shark shirt if I use it. Add your comments below, and read some great old tales in the Sharkives.

Now you can post your own stories of IT ridiculousness at Shark Bait. Join today and vent your IT frustrations to people who've been there, done that.

What People Are Saying

Funny characters

Reminds me of long ago when we sent out a lot of text on paper to be typed into a computer. The typing service said "no problem". When we got the data it looked okay but no program would touch it.

After a little octal dumping, we figured out that they typed the stuff in on some IBM Selectric terminals. All the number "1"s the typists typed in as lower case ells ! And sometimes "0" was actually a capital O, and vice-versa. Luckily the numbers were discernible in context so a little program fixed up most of the typos.

roger that!

...from another old guy.

"roger that! ...from another old guy."

The Arch Demon is old enough to know better, but young enough to do it anyway.

CAPTCHA: the freest -- those who are young enough to do it anyway...in some way, like JTB, unencumbered by the thought process....

Well That was sure funny!

Wow, how dumb could they be not to see that right away! This is one of the funniest things I have heard in a loooooong time!

;-)

Old Knowledge

Well, I still remember how to program drum cards on IBM 026 and 029 keypunches - but I doubt that will ever again be useful ...
.
... but talking about weird bugs, we had one once on the mainframe that drove us absolutely nuts. The routine was written in REXX, and a subroutine (call it "XYZ") was being called and passed a 2-byte binary value. The subroutine was defined thus:
.
XYZ: arg parm
(subroutine logic)
return
.
Some binary values were processed correctly, others were obviously being translated somehow. For example, passing 0x0380 would make it through, while 0x0381 would get translated as 0x03C1 upon entry.
.
It finally dawned on me that the translation looked like a common technique to uppercase lowercase EBCDIC letters (by OR-ing them with 0x40) and then I remembered that REXX "arg" is actually a kind of shorthand for "parse upper arg" - and the REXX interpreter was seeing the "81" in 0x0381 as a lower-case "s" and obediently translating it to upper case "S" - which is "C1", and hence, treated as if 0x03C1 had been passed. Changing the "arg" instruction to "parse arg" solved the problem.
.
The neat thing was that smarter people than I worked on this and couldn't get it. I like it when that happens ...
.
--- The Old Crab

Do you still have the drum?

Do you still have the drum? They make a great pencil holder for your desk. And you can regale the kiddies with epic stories of the old days when men were men (and patched in machine language).

My contribution to this thread concerns the representation of zero (unsigned zero, plus zero, and negative zero) in RPG for two different models of the same series of computer from the International Brotherhood of Mother Ducks. The same program and the same data gave different answers on the two machines. It took a while to track that one down.

Nova 64

The Nova 64 k computer had 17 toggle switches on the face. "booting" was selecting the binary position on the row of switches and the bumping the "jog" switch, which pushed the settings into RAM. then selecting the next set of 16 1's and 0's and bumping again. and again, and again. THEN it was ready for a program load.

"...when men were men (and patched in machine language)."

How about punching in the bootstrap loader in hex from the front keypad?

CAPTCHA: and esthetic -- nothing esthetic about it...needed strong anesthetic

IM CNOFUSED

WHO HAS TO DBECIDE SMOMETHIG AND WAHT DOSE IT HVAVE TO DO WIUTH SMICOLONES AND WHOO LET THE ROGUE CHRARACTER IN IT SUOND LIKE WHOOEVER WORTE THIS STROY WAS ON DSL

It's OK

...just take an aspirin and go lay down. You'll feel better and forget all about this after a nice nap.

CAPCHA: helene earns -- 77% of what jack does... except in IT.