• Subject: RE: Determining what library a CL program is called from?
  • From: Ken Slaugh <ken.slaugh@xxxxxxxxxx>
  • Date: Mon, 27 Sep 1999 12:51:17 -0800

If *LIBL was used to execute the CL in the first place, then use RTVOBJD
to return the library name into a declared variable.

Ken Slaugh
(707) 795-1512 Ext 118
Programmer/System Analyst
Certified Network Administrator MSE
Specialist - Client Access/400

Chouinard & Myhre, Inc.
An IBM Premier Business Partner
P.O. Box 636
Cotati, Ca 94931
http://www.cm-inc.com/


> -----Original Message-----
> From: David Gibbs 
> Sent: Monday, September 27, 1999 10:03 AM
> To:   'Midrange Mailing List'
> Subject:      Determining what library a CL program is called from?
> 
> Greetings!
>  
> 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.
>  
> Thanks!
>  
> david
>  
> 
> --
> 
> David Gibbs
> Sr. Software Engineer
> Mortice Kern Systems US, Inc.
> 2500 S. Highland Ave., Suite 200
> Lombard, IL  60148
> 
> phone: (630) 495-2108 x5004
> http://www.mks.com <http://www.mks.com/> 
> dgibbs@xxx.xxx 
> 
> 
> Opinions expressed are strictly my own and do 
> not necessarily reflect those of my employer.
> 
>  
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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].