A couple recent threads on IBM-MAIN asked, "How can I tell where
my load module came from?" and "How can a Rexx EXEC know where
it came from?"

The consensus (I call it a consensus because I joined it) is
that it's damned hard.  Once a library is OPENed there's little
information but the DEB which contains only UCBs and TTRs (well,
lotsa other stuff, but it's no help).

Yet, HLASM effortlessly produces:
  ASMA435I Record 1 in user.ASM(FROMPDS) on volume: 000000

It even produces correct information for a macro loaded from
a UNIX directory.  How does it do it?  Can this be shared?
Made a utility?  (It might go in HLASM TK.)  Does CBTTAPE
have something of the sort?

And what ever is in the DEB for a UNIX directory!?  (Already
raised the question on IBM-MAIN; dead silence.)  Data Areas
for DEB doesn't even mention UNIX or HFS or ZFS, but there's
got to be something there for BLDL/FIND to get ahold of.

HLASM does a good job here.

-- gil

Reply via email to