From: system@SendSpamHere.ORG Sent: Thursday, February 10, 2000 11:26 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: Argument list tracking on Alpha... In article <38A2CB22.6C55DBB7@BlueBubble.demon.co.uk>, Roy Omond writes: >Dick Munroe wrote: > >> I'm trying to port the ZMENU package that was written for Vaxen and >> relies a lot on access to the argument lists of previously called >> routines. After a fair amount of looking at the calling standard and >> things like invocation context blocks, etc, I'm not sure that there >> is a reliable way to get access to this information. Sorry to reply to Roy's post but I can find Dick's initial post... Dick, If you home the argument list all of your routines, you should be able to find the data on the stack by tracing back to the stored FP/LP of each of the previous calls. The PDSC will describe where to look on the stack for the homed list. This may take a bit of the ol' RTFM (where the FM is the OpenVMS Calling Standard Manual) but there are very good data structure diagrams there describing the PDSC and the stack frame formats of homed argument list procedures. Also, be sure to check in this manual for the LIB$GET_CURR_INVO_CONTEXT and LIB$GET_PREV_INVO_CONTEXT routines. With your lists homed, the use of these routines should greatly simplify your quest. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman@TMESIS.COM