16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

uucp<br />

All three files are stored in a subdirectory for each specific site, named after the<br />

site’s name. For example, because the UUCP spool directory is /usr/spool/uucp,<br />

then the directory /usr/spool/uucp/south is used for all the command, data, and<br />

execute files associated with the remote site south.<br />

<strong>Command</strong> Files<br />

<strong>Command</strong> files are created by the mail routing agents uucp and uux. On UUCP<br />

sites, command files have names such as C.targetA28B9, where target is the<br />

name of the destination site, A is the job grade (as set by the –g option to uucp,<br />

and 28B9 is the sequence number or job identification number. (You can use the –j<br />

option on uucp and uux, as well as uustat to find the job identification number.)<br />

In a command file, each line records one file transfer request. The fields are defined<br />

as follows:<br />

type The type field can be one of the following:<br />

R Receive a file from remote to local site.<br />

S Send a file from local to remote site.<br />

source The name of the source file.<br />

destination<br />

The name of the file after the transfer completes, whether to the remote site<br />

(S request) or the local site (R request).<br />

Special characters such as the tilde (~) are still present, because they are<br />

expanded on the destination site.<br />

sender The login name of the user who issued the command. This is normally your<br />

login name, though some programs (such as mail programs) use a different<br />

login name for their requests.<br />

options<br />

The command options, which correspond to options of the uucp and uux<br />

commands.<br />

C Use the data file name as the source for the copy; this can only be<br />

used with the S request.<br />

c Use the source file name as the source for the copy.<br />

d Create intermediate target directories as required. This is the<br />

default.<br />

m Send mail to the user when the transfer is complete.<br />

n Send mail to the user specified by the notification name when the<br />

transfer is complete.<br />

datafile<br />

The temporary file to be used if the source file was copied into the spool<br />

directory; it is only used with the S request. If C is one of the options, the<br />

data file is the name of the copy in the destination site’s data spool<br />

directory. Otherwise, the placeholder name D.0 is used.<br />

file mode<br />

The <strong>UNIX</strong>-style permission mode of the source file. It is only used with the<br />

S request. All files sent have mode 0666, plus whatever execute permissions<br />

the original file had. (For an explanation of the modes, see chmod.)<br />

926 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!