VALDIS@VTVM1.CC.VT.EDU (Valdis Kletnieks) (12/09/89)
Argh.. I looked at the data areas book at *decimal* 608 and found the SYSNAME. *hexadecimal* offset 608 is a V-con pointing at DEVTAB. Moral of the story - I should quit posting to this list before I've had sufficient caffeine. (For those who care, I only *write* code when wired on caffeine, so you don't have to worry... :) Valdis
LDW@USCMVSA.BITNET (Leonard D Woren) (12/09/89)
> Argh.. I looked at the data areas book at *decimal* 608 and found > the SYSNAME. *hexadecimal* offset 608 is a V-con pointing at DEVTAB. > > Moral of the story ... No, the moral of the story is as you stated in your original posting -- *never* use hard-coded offsets. If there's a supplied macro for the area, use it. Otherwise, make one. Another example of why: Ever try to modify the output format when all references to the output line are coded as things like MVC LINE+34(5),DATA ? It's much much simpler when there's a layout with field names for the output line. /Leonard