× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I replied offlist - if anyone wants it, just let me know.

TomH

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Vidal, Peter
Sent: Tuesday, December 09, 2014 11:00 AM
To: Midrange Systems Technical Discussion
Subject: RE: How to know the program that calls a second program?

Perfect! Thank you Tom.

Can you give an example of how would you call the program in a CLP or CLLE,
for example, so that you can get the PARENT calling program value in return?

Peter Vidal
Developer AS400 | P: 800-808-1902, x137210 | F: 813-884-2847

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom
Hightower
Sent: Tuesday, December 09, 2014 11:36 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: How to know the program that calls a second program?

I use the QWVRCSTK API; here's a link to some sample code to get you going:

http://www.mysamplecode.com/2012/08/rpgle-find-calling-program-name-on.html



This communication is intended only for the use of the individual or entity
named as the addressee. It may contain information which is privileged
and/or confidential under applicable law. If you are not the intended
recipient or such recipient's employee or agent, you are hereby notified
that any dissemination, copy or disclosure of this communication is strictly
prohibited. If you have received this communication in error, please
immediately notify CareCentrix Compliance Hot Line at (877) 848-8229 and
notify the sender by electronic mail. Please expunge this communication
without making any copies. Thank you for your cooperation.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

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.