tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* help needed on vax front
@ 1998-07-03  6:51 R.S.Mundada
  0 siblings, 0 replies; only message in thread
From: R.S.Mundada @ 1998-07-03  6:51 UTC (permalink / raw)
  To: tru64-unix-managers

Hello everybody. I need some VAX expert's help. I am trying
	to port a code from VAX VMS 5.1 . I do have DECFUSE. AS I am
	not conversant with VAX VMS operating system, I need to know
	as to
		HOW DO I GET THE EQUIVALENT FOR THE SYSTEM CALLS
	( WHICH INCIDENTALLY WERE FORTRAN CALLABLE ON VAX) IN DIGITAL
	UNIX FOR THE FOLLOWING CODE SEGMENT. A BRIEF EXPLANATION 
	OF THE SYSTEM CALLS WOULD BE GREATELY APPRECIATED.

	----------------CODE STARTS-------------------------------

	integer*4 function usopen_nlk(fab,rab,lun)
	
	include '($syssrvnam)'
	include '($fabdef)'
	include '($rabdef)'
	record /fabdef/	fab
	record /rabdef/	rab
	integer*4 status, lun
	
	external lib$signal

	rab.rab$1_rop=ibset(rab.rab$1_rop,rab$v_nlk)
	status=sys$open (fab)
	if(status)then
	status=sys$connect(rab)
	if( .not.status) call lib$signal(%val(status))
	endif

	usopen_nlk=status

	return
	end

----------------------- code ends----------------------

		Thanking you all in advance and
		with best regards,

			Yours sincerely

			R.S. MUNDADA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-03  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-03  6:51 help needed on vax front R.S.Mundada

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