From: cbl@uihepa.hep.uiuc.edu (Chris Luchini)
Subject: sys$brkthru questions
Date: 9 Sep 1993 19:03:46 GMT [thread overview]
Message-ID: <26numi$g3u@vixen.cso.uiuc.edu> (raw)
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
next reply other threads:[~1993-09-09 19:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-09 19:03 Chris Luchini [this message]
1993-09-09 22:38 ` sys$brkthru questions fairfield
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox