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.

Examples<br />

Data Files<br />

Examples<br />

notification<br />

The login name of the person to be notified after the job request completes.<br />

It is used only with the S request if n is one of the options.<br />

1. The command<br />

uucp –m /memos.001 /memos.002 south!~/<br />

copies the files /memos.001 and /memos.002 root directory to the public UUCP<br />

directory on south. Assuming your user name is eve, a command file containing<br />

these lines is created in the UUCP spool directory /usr/spool/uucp/south:<br />

S /memos.001 ~/memos.001 eve –mcd D.0 0777<br />

S /memos.002 ~/memos.002 eve –mcd D.0 0777<br />

2. The command<br />

uucp south!~/index ~/<br />

generates a command file on your site in the UUCP spool directory<br />

/usr/spool/uucp/south containing this line:<br />

R ~ /index ~/index eve –cd<br />

Data files contain data to be transferred to the remote site. They are created by<br />

uucp if the –C option is used, and by uux and mail programs.<br />

On UUCP sites, data files have names like D.source9B73001, where source is the<br />

name of the site that the data file originated from (the local site for an S request, or<br />

the remote site for an R request), 98B3 is the sequence number, and 001 is the<br />

subsequence number, used when a request generates more than one data file.<br />

Data files created by uucp contain files to be copied. Data files created by uux<br />

which contain commands for the remote site become execute files at their<br />

destination.<br />

Mail sites typically create two data files, one containing the message and the other<br />

containing the command to run the mail routing agent on the remote site.<br />

UUCP data files contain data to be copied. The contents of uux data files and<br />

commands that generate remote commands are execute files intended for other<br />

sites. For example, a mail message to north generates two data files in the UUCP<br />

spool directory /usr/spool/uucp/north<br />

D.north000A001<br />

X.northX000A002<br />

These working files are created:<br />

D.north000A001 Text of mail message<br />

X.northX000A002 Execute file<br />

uucp<br />

The execute file contains the uux request for the mail routing program to be run on<br />

north.<br />

Appendix H. File Formats 927

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

Saved successfully!

Ooh no, something went wrong!