z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Testing throughput with *DEV.NULL

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

If you have a z/OS® FTP server, you can use the PUt or MVSPut subcommand to copy many files (or one large file) without storing the files on a z/OS FTP server file system. This is useful for testing purposes because you do not have to worry about allocating the disk space on the server system.

Procedure

  1. Change the working directory to *DEV.NULL by using one of the following commands:
    • CD *DEV.NULL
    • CWD *DEV.NULL
    This affects the working directory for only the PUt or MVSPut subcommand.
  2. Use the PUt or MVSPut subcommand to copy the file to the server system. The input data set must be valid, and the output file can either be new or already exist. In either case, the file is not actually stored. The following response shows information such as the number of bytes transferred and the rate of transfer.
  3. To end the use of the *dev.null directory for the PUt commands or MVSPut subcommand, issue another change directory command.

Example

 Command:
cd *dev.null
 >>>CWD *dev.null
 250-Working directory for PUT is NULL Device;
 250 for GET is HFS directory /u/user31
 Command:
 put a.b a.bbbbb
 >>>SITE VARrecfm Lrecl=128 Recfm=VB BlockSize=6144
 200 Site command was accepted
 >>>PORT 14,0,0,0,4,14
 200 Port request OK.
 >>>STOR a.bbbbb
 125 Storing data set in the Null directory (*dev.null).
 250 Transfer completed successfully.
 82 bytes transferred in 0.245 seconds. Transfer rate 0.33 Kbytes/sec.
 Command:
 quit
 >>>QUIT
 221 Quit command received. Goodbye.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).