Best of…: Classic WTF: What's ... Note

Best of…: Classic WTF: What's in a Name?

In 1993, Todd Lewis migrated data from Old Iron, a mainframe, to gibbs, a Unix computer, using SAS. Initially, the data transfer used a shared network connection. To optimize speed, Todd connected the machines directly through a fiber interface and changed the IP address in the SAS code. However, this resulted in an error: "invalid userid or password." Changing the macro variable name to "die_gibbs_die" resolved the issue.SAS documentation revealed that macro names should not match valid hostnames on the network. In Todd's case, the gibbs hostname was resolving to a different IP address than the fiber interface, preventing the data transfer.Unbeknownst to Todd, the data transfer had been running for over a year using the public network connection, despite the dedicated fiber interface being available.When a sister university attempted to migrate their mainframe using Todd's code, they encountered the same error. Changing the macro variable name resolved the issue, highlighting the problem with using hostnames as macro variables.Todd realized that if a hostname with the same name as a macro variable were registered, it could disrupt code or redirect connections to the wrong machine.Despite the impending shutdown of Old Iron, Todd renamed the "gibbs" variable and finally used the fiber connection to transfer data, though it was no longer necessary.