From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 26-MAY-1991 19:50:21.84 To: ARISIA::EVERHART CC: Subj: re: Time prompt MACRO routine From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.97) id AA29763; Sun, 26 May 91 19:27:10 EDT Received: From TGV.COM by CRVAX.SRI.COM with TCP; Sun, 26 MAY 91 16:22:30 PDT Date: Sun, 26 May 1991 16:22:22 -0700 (PDT) From: MILLER@TGV.COM (Bruce R. Miller) Subject: re: Time prompt MACRO routine To: info-vax@kl.sri.com Message-Id: <675300142.110497.MILLER@TGV.COM> Mail-System-Version: >Well, it doesn't work under 5.3-1 (coming from 4.7); the symbol >SCH$GL_CURPCB is undefined, which was contained in SYS$SYSTEM:SYS.STB >in 4.7 but is not in 5.3-1. (There are also some assembly warnings >about IPL raises providing no multiprocessing synchronization but I'm >not worried about those on a 785.) Just so. Under VMS 5.0 and higher there was added support for SMP (Symetric Multi-Processors). There's no such thing as a "current process" since several could be current at any given time (each on a differant processor). You want to use the FIND_CPU_DATA macro under VMS 5.x. Replace the MOVL SCH$GL_CURPCB,R0 line with: FIND_CPU_DATA R0 MOVL CPU$L_CURPCB(R0),R0 And you're good to go. -bruce "my mama didn't raise no Unix hacker" miller ---------------------------------------------------------------------------- Bruce R. Miller, MILLER@TGV.COM (408) 427-4366 in Santa Cruz CA