|
Is there any way for an RPG to determine what program called it? I am writing a service program that writes records to a database and one of the fields I want to store is the name of the program that asked the service program to create the record. So PGMA calls PGMB that calls SERVICEPGM I want SERVICEPGM to write a database record with PGMB in the tracking field. I have done this many years ago but at that time I passed a parameter to know who was requesting the service but then all the code was mine and I trust my code :) This time a lot of people will be using the service program and I would prefer not to let them pass me anything they want. Mike Cunningham Pennsylvania College of Technology www.pct.edu mcunning@xxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.