Figure 1 shows how you can retrieve the
necessary source code to install the client enabling commands
on any platform except an AIX®, UNIX,
or z/OS client. See
Installing the client enabling commands for
information on retrieving the necessary source code to install the
client enabling commands on AIX or UNIX workstation.
The z/OS NFS client source code is installed when the z/OS NFS client
and TCP/IP are installed. In this example,
mvshost1 is the
name of the z/OS host and
smith is a z/OS user ID:
Figure 1. Retrieving
source code for client enabling commands C> md client (to create a directory to contain clientcode)
C> cd client
C> ftp mvshost1
Connected to mvshost1
220-FTPSERVE at MVSHOST1, 01:44:24 on 12/02/07
220 Connection closes if idle for more than 5 minutes.
Name (mvshost1:nobody): smith
<Press ENTER key>
331 Send password please.
Password: password
230 smith is logged on.
ftp> get 'mvsnfs.nfstarb(gfsawaxd)' gfsawaxd.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWAXD)
250 Transfer completed successfully.
local: gfsawaxd.c remote: 'mvsnfs.nfstarb(gfsawaxd)'
19516 bytes received in 0.14 seconds (139.4 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawclt)' gfsawclt.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWCLT)
250 Transfer completed successfully.
local: gfsawclt.c remote: 'mvsnfs.nfstarb(gfsawclt)'
17584 bytes received in 0.19 seconds (92.36 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawlin)' gfsawlin.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWLIN)
250 Transfer completed successfully.
local: gfsawlin.c remote: 'mvsnfs.nfstarb(gfsawlin)'
52808 bytes received in 0.25 seconds (211.23 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawlou)' gfsawlou.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWLOU)
250 Transfer completed successfully.
local: gfsawlou.c remote: 'mvsnfs.nfstarb(gfsawlou)'
22468 bytes received in 0.14 seconds (160.49 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawmcl)' gfsawmcl.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWMCL)
250 Transfer completed successfully.
local: gfsawmcl.c remote: 'mvsnfs.nfstarb(gfsawmcl)'
17302 bytes received in 0.12 seconds (144.18 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawmou)' gfsawmou.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWMOU)
250 Transfer completed successfully.
local: gfsawmou.c remote: 'mvsnfs.nfstarb(gfsawmou)'
29110 bytes received in 0.17 seconds (171.24 Kbytes/s)
ftp> get 'mvsnfs.nfstrab(gfsawrp6)' gfsawrp6.h
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWRP6)
250 Transfer completed successfully.
local: gfsawrp6.h remote: 'mvsnfs.nfstarb(gfsawrp6)'
27880 bytes received in 0.16 seconds (174.25 Kbytes/s)
ftp> get 'mvsnfs.nfstrab(gfsawrs6)' gfsawrs6.h
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWRS6)
250 Transfer completed successfully.
local: gfsawrs6.h remote: 'mvsnfs.nfstarb(gfsawrs6)'
204262 bytes received in 0.94 seconds (216.84 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawsha)' gfsawsha.c
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWSHA)
250 Transfer completed successfully.
local: gfsawsha.c remote: 'mvsnfs.nfstarb(gfsawsha)'
141122 bytes received in 0.61 seconds (230.97 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawmnt)' gfsawmnt.h
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWMNT)
250 Transfer completed successfully.
local: gfsawmnt.h remote: 'mvsnfs.nfstarb(gfsawmnt)'
10414 bytes received in 0.09 seconds (115.71 Kbytes/s)
ftp> get 'mvsnfs.nfstarb(gfsawsho)' gfsawsho.h
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWSHO)
250 Transfer completed successfully.
local: gfsawsho.h remote: 'mvsnfs.nfstarb(gfsawsho)'
7052 bytes received in 0.07 seconds (100.74 Kbytes/s)
(Note: Make sure that the tabs key in the gfsawjcl makefile will not
be translated into a space key for the following step.)
ftp> get 'mvsnfs.nfstarb(gfsawjcl)' makefile
200 Port request OK.
125 Sending data set MVSNFS.NFSTARB(GFSAWJCL)
250 Transfer completed successfully.
local: makefile remote: 'mvsnfs.nfstarb(gfsawjcl)'
8364 bytes received in 0.07 seconds (119.49 Kbytes/s)
ftp> quit
221 Quit command received. Goodbye.
C>
C> (Port commands source code to be compiled in your client
workstation.)
C> (Set up the path to the "client" directory for the users to use
the executable code of mvslogin, mvslogout,
and showattr commands.)
C> mvslogin mvshost1 smith (MVSNFS must be operational
Password required on host side.)
GFSA973A Enter MVS password:
GFSA955I smith logged in ok.
C>