Subject: | |
From: | |
Reply To: | Shahan, Ray |
Date: | Mon, 9 Jan 2006 07:58:43 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Use the Linkage-Section (if you're using COBOL). As each sub-prog calls
the getprocname intrinsic, it passes its name to the sub-prog it's to
call. You could even set up an array in the link-sec to hold each of
the successive calls, and as each sub-prog passes control back to the
parent, have the parent remove the sub-prog it called from the array
element.
Of course, this assuming I have the remotest idea of what your question
was about. 8-)
Have a great week!
Ray Shahan
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Tracy Pierce
Sent: Friday, January 06, 2006 5:51 PM
To: [log in to unmask]
Subject: [HP3000-L] getprocname?
main pgm a calls xl-rez subpgm b calls c calls d.
d needs to know who called. I understand I can't get the caller name,
so need to get my own name and pass that down. how?
posted on behalf of [log in to unmask]
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
========================================================================
This e-mail message has been scanned for Viruses and Content and cleared
by School Specialty's email filtering solution.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|