From - Thu Sep 25 07:51:41 1997 Path: news.mitre.org!blanket.mitre.org!bone.think.com!newsswitch.lcs.mit.edu!netnews.com!howland.erols.net!newsfeed.internetmci.com!205.216.137.4!news.theriver.com!HSNX.wco.com!nntp.csuchico.edu!waldorf.csc.calpoly.edu!nntp-server.caltech.edu!eql.caltech.edu!rankin From: rankin@eql.caltech.edu (Pat Rankin) Newsgroups: comp.os.vms Subject: Re: *Opposite problem now... Was: [any help on sys$qiow(...)? ] Date: 24 Sep 1997 13:50 PST Organization: California Institute of Technology Lines: 22 Distribution: world Message-ID: <24SEP199713503298@eql.caltech.edu> References: <01BCC875.9721B9F0.rockwell@umkc.edu> <34291B67.3D6FFDA4@star.zko.dec.youknowwhere> NNTP-Posting-Host: eql13.caltech.edu News-Software: VAX/VMS VNEWS 1.41x10 In article <34291B67.3D6FFDA4@star.zko.dec.youknowwhere>,\ Andy Goldstein writes... [...] : Let's go back to basics here... I missed your original posts but I : gather the issue is having a completion AST for the file I/O with a : parameter of your choice. In fact, the RMS success and failure routine : arguments can get you close enough for practical purposes. These get : called on service completion as AST routines. The AST parameter is : either the FAB or RAB, dependingon which control block was originally : passed to the service. : : Turning a FAB or RAB address into your own parameter is straightforward: : simply embed the structure in a larger structure of your own, prefixing : or appending your own fields. It is then easy to compute the base of : your own structure from the FAB or RAB address. [...] It's even easier than that. Both of those RMS structures contain a "user context" field. You can pass the same thing as a 32-bit AST argument just by putting it into that field. Pat Rankin, rankin@eql.caltech.edu