Subject: | |
From: | |
Reply To: | |
Date: | Fri, 6 Jan 2006 16:38:05 -0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Try HPMYPROGRAM
>I have a main process that calls a subroutine from an XL. I need to
>get the calling programs name.
>
>Main-program "AAA.PUB.MAIN" calls a dynamic subprogram "BBB" from the
XL.
> Dynamic-Subprogram "BBB" calls yet another dynamic subprogram
"CCC".
> Dynamic-Subprogram "CCC" this program calls the "PROCINFO"
intrinsic
> which returns the value "AAA.PUB.MAIN". What I need to
>know is the
> name of the main program OR the dynamic subprogram that
actually
> placed the call to "CCC".
> EX: If "CCC" is called from the main program then return
>"AAA.PUB.MAIN"
> If "CCC" is called from the dynamic subprogram then
>return "BBB".
>
>How can this be done ????
>
>Thank you in advance
>David
>
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
The contents of this email are confidential to the intended recipient
and may not be disclosed. Although it is believed that this email and
any attachments are virus free, it is the responsibility of the recipient to confirm this.
Smith & Williamson Corporate Finance Limited - A member of the London Stock Exchange.
A member of M&A International Inc. http://www.mergers.net Registered in England No. 4533970. Authorised and regulated by the Financial Services Authority
Smith & Williamson Investment Management Limited, Registered No. 976145. Authorised and regulated by the Financial Services Authority.
Smith & Williamson Pension Consultancy Limited - Independent Intermediary. Registered No. 3133226. Authorised and regulated by the Financial Services Authority.
Smith & Williamson Fund Administration Limited, Registered No. 1934644. Authorised and regulated by the Financial Services Authority.
Smith & Williamson Limited - A member of Nexia International. Registered in England No. 4534022. Regulated by the Institute of Chartered Accountants in England & Wales for a range of investment business activities.
NCL Investments Limited, Registered No. 1913794.
Member of the London Stock Exchange authorised and regulated by the Financial Services Authority.
Registered Office: 25 Moorgate, London EC2R 6AY
Telephone: 020 7131 4000 http://www.smith.williamson.co.uk
Nexia Audit Limited - A member of Nexia International. Registered in
England No. 4469576. Registered to carry on audit work and regulated by the Institute of Chartered Accountants in England & Wales for a range of investment business activities.
Registered Office: 25 Moorgate, London EC2R 6AY
Telephone: 020 7131 4000 http://www.nexiaaudit.co.uk
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|