I posted the CL at least 4 times.

Joe,  Look in the archives.  "Getting Caller's Name"
It will also tell you who you are.

John Carr
----------------------
Here's a silly question.  I've always been able to get the library a
program
was called from in RPG by using the program status data structure.  In a
C/S
environment, this is really important, because it allows you to have
multiple environments based on just the library you call your initial
program from.

However, I have never figured out a way to do the same thing from a CL.
Anybody have any sneaky ways of doing this, or do I just use my tried and
true method of wrapping the CL program in an RPG wrapper that determines
the
library?

Joe




This thread ...

Follow-Ups:

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

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