From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,d88aec055f711d0e X-Google-Attributes: gidf7344,public X-Google-Thread: fe50f,22078dde0c28b984 X-Google-Attributes: gidfe50f,public X-Google-Thread: 1164f8,22078dde0c28b984 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-10-14 16:11:58 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!uunet!athos.cc.bellcore.com!isp.isp.bellcore.com!wws From: wws@cc.bellcore.com (Wayne Scott) Newsgroups: comp.os.vms,comp.sys.dec,comp.protocols.nfs Subject: RE: NFS from VMS, compiling on UNIX ? Followup-To: comp.os.vms Date: 14 Oct 1994 21:52:52 GMT Organization: Bellcore Sender: wws@isp.isp.bellcore.com (Wayne Scott) Distribution: world Message-ID: <37mujk$clr@athos.cc.bellcore.com> References: <9410141305.AA22517@uu3.psi.com> Reply-To: wws@cc.bellcore.com NNTP-Posting-Host: isp.bellcore.com Keywords: (p.s. anyone looking for VMS work? see below.) X-Newsreader: mxrn 6.18-6 Xref: bga.com comp.os.vms:19713 comp.sys.dec:6423 comp.protocols.nfs:2694 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.