E From:	CSBVAX::MRGATE!INFO-VAX-RELAY@KL.SRI.COM@SMTP  9-JUN-1988 21:22  To:	ARISIA::EVERHART/ Subj:	Re: Can I set an AST for BRDCST messages?     a Received: from CUNYVM.CUNY.EDU ([128.228.1.2]) by KL.SRI.COM with TCP; Sat, 4 Jun 88 08:55:53 PDT r Received: from ISUMVS.BITNET by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with BSMTP id 2369; Sat, 04 Jun 88 11:56:10 EDT& Date:      Sat,  4 Jun 88 10:55:26 CDT  To:        <INFO-VAX@KL.SRI.COM>@ From:      "John Hascall" <GG.SPY%ISUMVS.BITNET@CUNYVM.CUNY.EDU>4 Subject:   Re: Can I set an AST for BRDCST messages?  ( > Date:         Thu, 2 Jun 88 19:09:00 O3 > Sender:       INFO-VAX Discussion <INFO-VAX@UBVM>  > From:         TENE@TECHMAX5 > Subject:      Can I set an AST for BRDCST messages? , > To:           John Hascall <GA.JPH@ISUMVS> > H > I am looking for a way to set an AST for receiving a broadcast messageF > from $BRKTHRU and handling it. I know its possible because TPU seemsB > to do it nicely but I can't find how. Since I want to handle theB > message SET BROADCAST is not enough, and since the message is an, > asynchronous event I assume I need an AST. >  > What kind of AST is it?  > HOW do I set such an AST?  >  > Does anybody have any clues? >   H       1) use SYS$CREMBX to create a mailbox (and assign a channel to it)I       2) use SYS$ASSIGN to assign a channel to the terminal and associate (              the mailbox to the terminalA       3) use SYS$QIOW specifying the mailbox_channel and function 5              IO$_SETMODE+IO$M_READATTN and an AST_RTN   )       now in the AST_RTN you will need to G           1) read the mailbox channel using SYS$QIOW (the format of the C              message is in the I/O user's refernece manual Vol 1 in B              either the terminal driver or mailbox driver section)2           2) re-enable the READATTN as in 3) above   John Hascall" Iowa State Univ Computation Center
 Ames, Iowa  