From: SMTP%"vandenheuvel@eps.enet.dec.com" 27-OCT-1994 09:32:18.25 To: EVERHART CC: Subj: Re: Ast parameter for RMS Record Oper. Functions From: vandenheuvel@eps.enet.dec.com (Hein RMS van den Heuvel) X-Newsgroups: comp.os.vms Subject: Re: Ast parameter for RMS Record Oper. Functions Date: 27 OCT 94 00:14:32 Organization: Digital Equipment Corporation Lines: 21 Message-Id: <38n9r0$82f@jac.zko.dec.com> Nntp-Posting-Host: EPSYS To: Info-VAX@Mvb.Saic.Com X-Gateway-Source-Info: USENET In article <1994Oct26.203222.21923@sol.cs.wmich.edu>, pennabad@sol.cs.wmich.edu (Mr Who knows?) writes... > Is there a paramter passed to an AST function that is called from the > following function ? > > sys$get(&rab,ast_func1,ast_func2); The control block address (RAB or FAB) will be passed as ast param. It is common programming practice to use the CTX field in the control block (FAB$L_CTX, RAB$L_CTX) to store a private thread control structure address or value. The CTX, STS, and STV fields are garantueed to live at the same offsets for RAB anf FABs alike, allowing for shared error handling code. Hope this helps, +--------------------------------------+ | All opinions expressed are mine, and | Hein van den Heuvel, Digital | may not reflect those of my employer | vandenheuvel@eps.enet.dec.com +--------------------------------------+