From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a382d6bcbb438e78,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-09-09 12:09:43 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uihepa.hep.uiuc.edu!CBL From: cbl@uihepa.hep.uiuc.edu (Chris Luchini) Newsgroups: comp.sys.dec Subject: sys$brkthru questions Date: 9 Sep 1993 19:03:46 GMT Organization: High Energy Physics, University of Illinois, Urbana-Champaign Message-ID: <26numi$g3u@vixen.cso.uiuc.edu> Reply-To: cbl@uihepa.hep.uiuc.edu NNTP-Posting-Host: uihepe.hep.uiuc.edu I'm trying to write a piece of code that will tell me when I've recieved mail that's beed delivered by PMDF Deliver. I've tried to use sys$brkthru, but I can't get any effect other than 'bad parameter'. Will some kind soul either tell me what I'm doing wrong, or tell me which newsgroup would be the place to ask this question? IMPLICIT NONE INCLUDE '($FSCNDEF)' INCLUDE '($SSDEF)' INCLUDE '($RMSDEF)' INCLUDE '($LNMDEF)' include '($brkdef)' INTEGER RETVAL,STATUS,OUTLEN,CDIRLN,RET_LN INTEGER LIB$GET_FOREIGN,SYS$TRNLNM,SYS$DO_COMMAND,SYS$SETDDIR INTEGER SYS$CRELNM,SYS$FILESCAN,SYS$ASCTIM,SYS$GETTIM EXTERNAL SYS$ASCTIM,SYS$GETTIM INTEGER LIB$SIGNAL,lib$cvtf_from_internal_time,LIB$DAY,SYS$BINTIM external lib$cvtf_from_internal_time,LIB$DAY,SYS$BINTIM integer sys$brkthru external sys$brkthru integer i,j integer*4 iosb character msgbuf(3)*80,usr*4/'CBL '/,msg*80 C RETVAL = LIB$GET_FOREIGN(msg,,OUTLEN) c do i=1,3 c read(5,1,end=99) msgbuf(i) c enddo c99 i=i-1 1 format(1a80) c do j=1,i c SYS$BRKTHRU(efn ,msgbuf ,sendto ,sndtyp ,iosb,carcon ,flags ,reqid c ,timout ,astadr ,astprm) retval= SYS$BRKTHRU(,'this is a tst','fta82:',Brk$c_device,iosb,,,brk$c_user7,,,) WRITE(6,*) RETVAL retval= SYS$BRKTHRU(,'this is a tst','_fta82:',Brk$c_device,iosb,,,brk$c_user7,,,) WRITE(6,*) RETVAL retval= SYS$BRKTHRU(,'this is a tst','fta82',Brk$c_device,iosb,,,brk$c_user7,,,) write(6,*) retval c enddo end ------------------------------------------------------------------------------- C. Luchini *1110 W. Green/Urbana IL 61801/217-333-0505/cbl@uihepa.hep.uiuc.edu