* RE: NFS from VMS, compiling on UNIX ?
[not found] <9410141305.AA22517@uu3.psi.com>
@ 1994-10-14 21:52 ` Wayne Scott
0 siblings, 0 replies; 2+ messages in thread
From: Wayne Scott @ 1994-10-14 21:52 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread