Hi, James:

If you can do ILE CL (CLLE) vs. OPM CLP, you can use the "in-line" MI instruction built-in named MATPGMNM ... available since at least V5R1 ...

A google search for "_MATPGMNM" reveals several examples. For example:

http://lisug.org/Tips/TIP6_Retrieve_PGM_Name.pdf

HTH,

Mark S. Waterbury

> On 11/7/2011 1:48 PM, James Lampert wrote:
Is there an easy way for a CL program to know what library it's located in?

It needs to access a similarly named IFS directory, according to the
library where it lives.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.