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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exit Values<br />

Messages<br />

v LC_MESSAGES<br />

v LC_TIME<br />

v LC_SYNTAX<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 No differences between the files compared.<br />

1 diff compared the files and found them to be different.<br />

2 Failure due to any of the following:<br />

v Incorrect command-line argument<br />

v Inability to find one of the input files<br />

v Out of memory<br />

v Read error on one of the input files<br />

4 At least one of the files is a binary file containing embedded NUL (\0) bytes<br />

or newlines that are more than LINE_MAX bytes apart.<br />

Possible error messages include:<br />

file filename: no such file or directory<br />

The specified filename does not exist. filename was either typed explicitly,<br />

or generated by diff from the directory of one file argument and the<br />

basename of the other.<br />

Files file1 and file2 are identical<br />

The –s option was specified and the two named files are identical.<br />

Common subdirectories: name and name<br />

This message appears when diff is comparing the contents of directories,<br />

but you have not specified –r. When diff discovers two subdirectories with<br />

the same name, it reports that the directories exist, but it does not try to<br />

compare the contents of the two directories.<br />

Insufficient memory (try diff –h)<br />

diff ran out of memory for generating the data structures used in the file<br />

differencing algorithm. (See “Limits” on page 240.) The –h option of diff can<br />

handle any size file without running out of memory.<br />

Internal error—cannot create temporary file<br />

diff was unable to create a working file that it needed. Ensure that you<br />

either have a directory /tmp or that the environment contains a variable<br />

TMPDIR, which names a directory where diff can store temporary files.<br />

Also, ensure that there is sufficient file space in this directory.<br />

Missing ifdef symbol after -D<br />

You did not specify a conditional label on the command line after the –D<br />

option.<br />

Only one file may be –<br />

Of the two input files normally found on the command line of diff, only one<br />

can be the standard input (stdin).<br />

Too many lines in filename<br />

A file of more than the maximum number of lines (see “Limits” on page 240)<br />

was given to diff.<br />

diff<br />

Chapter 2. Shell command descriptions 239

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

Saved successfully!

Ooh no, something went wrong!