Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* sys$brkthru questions
@ 1993-09-09 19:03 Chris Luchini
  1993-09-09 22:38 ` fairfield
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Luchini @ 1993-09-09 19:03 UTC (permalink / 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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-09-09 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-09 19:03 sys$brkthru questions Chris Luchini
1993-09-09 22:38 ` fairfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox