• Subject: RE: Determining what library a CL program is called from?
  • From: David Gibbs <dgibbs@xxxxxxx>
  • Date: Mon, 27 Sep 1999 14:08:16 -0500

Title: RE: Determining what library a CL program is called from?

> >Does anyone know of a way for a CL program to determine what
> library it is
> >executing in?
> >
> >I'm looking for either an API or a technique that will
> simply tell me what
> >library the current CL program is executing out of so I can
> qualify my
> >recursive program call to ensure I call the same copy.
> Why not include the following at the beginning of your program ?
> RTVOBJD OBJ(*LIBL/program_name)  OBJTYPE(*PGM) RTNLIB(&Library)

Well, the problem with that is... I want to make sure that I call an EXACT copy of myself ... not one of my clones that might just be higher on the library list (perhaps stuck in the system library list).


This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].