Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wws@cc.bellcore.com (Wayne Scott)
Subject: RE: NFS from VMS, compiling on UNIX ?
Date: 14 Oct 1994 21:52:52 GMT	[thread overview]
Message-ID: <37mujk$clr@athos.cc.bellcore.com> (raw)
In-Reply-To: 9410141305.AA22517@uu3.psi.com


Hi Folks:

	I am happy to report that today I had some successes with
NFS-mounting VMS files and compiling a test program on a SUN.
Here are some details (using Digital's UCX) :

VMS area was: DISK$BUILD_WORK:[BUILD.800_7-0_TEST.WORK].

        The VMS/UCX product had to be configured to make files available,
and the MOUNT service enabled:

==============================================================================
SCP,70MGR-CP0204:; ucx sho export

File System                             Host name

/vmsfiles/nfs                           *
/workdisk/build/scp_7-0_base/work       MICROJET

-------------------------------------
SCP,70MGR-CP0204:; ucx sho serv mount
-------------------------------------

Service             Port  Proto    Process          Address            State

MOUNT                 10  UDP      UCX$NFS          0.0.0.0            Enabled

==============================================================================

        On the SUN, a mount was done from the root login (using a shell):

==============================================================================
VMS_C4=/home/cp0204
VMS_C4_BASE_WORK=/workdisk/build/scp_7-0_base/work

umount -v ${VMS_C4}
mount -tv nfs cp0204:${VMS_C4_BASE_WORK} ${VMS_C4}

mount -p
..
cp0204:/workdisk/build/scp_7-0_base/work /home/cp0204    nfs rw           0 0
==============================================================================


        A UNIX "ls" in "/home/cp0204" shows the VMS "SCP_WORK" directories.
A directory called "WWS_SUN.DIR;1" was created on VMS (had to use "70MGR"
because of permissions).  Then from the SUN, I could "cd wws_sun" and use
vi to create a file (I called it "i_hope_this_works.c").
From VMS, I could "TYPE I_HOPE_THIS_WORKS.C" and read the contents just fine.

Then I added some code:


====================================================================
/*
Let's see if we can edit with EVE on VMS okay...
*/

main ()
{
        printf("this program was created on VMS!!! \n");
}
====================================================================


        This compiled and linked on the SUN, and stored the executable
as "a.out" (UNIX convention if not specified) on Cluster 4 as A.OUT;1.
I ran it on the SUN with no problems.

====================================================================
[wws@microjet] a.out
this program was created on VMS!!!
[wws@microjet]
====================================================================


        It looks like NFS handles the job just fine.  Amazing.

Wayne
-- 
-------------------------------------------------------------
		wws@cc.bellcore.com
Anyone looking for VAX/VMS/C work ?  We have plenty to do on:
	Clusters, Workstations (SUN,DEC), X/Motif/Galaxy.


       reply	other threads:[~1994-10-14 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9410141305.AA22517@uu3.psi.com>
1994-10-14 21:52 ` Wayne Scott [this message]
     [not found] <matt.finger.19.0548E71A@healthpartners.com>
     [not found] ` <11OCT199417563470@tgv.com>
1994-10-13 16:51   ` NFS from VMS, compiling on UNIX ? Wayne Scott
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