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.

Portability<br />

Line too long: limit nn — truncated<br />

Any input lines that are longer than the default number of bytes<br />

(LINE_MAX) or the number specified with the –z option are truncated.<br />

Missing key definition after -k<br />

You specified –k, but did not specify a key definition after the –k.<br />

No newline at end of file<br />

Any file not ending in a newline character has one added.<br />

Nonunique key in record ...<br />

With the –c and –u options, a nonunique record was found.<br />

Not ordered properly at ...<br />

With the –c option, an incorrect ordering was discovered.<br />

Tempfile error on ...<br />

The named temporary (intermediate) file could not be created. Make sure<br />

that you have a directory named /tmp, and that this directory has space to<br />

create files. You can change the directory for temporary files using the<br />

TMPDIR environment variable.<br />

Tempnam() error<br />

sort could not generate a name for a temporary working file. This should<br />

almost never happen.<br />

Temporary file error (no space) for ...<br />

Insufficient space was available for a temporary file. Make sure that you<br />

have a directory named /tmp, and that this directory has space to create<br />

files. You can change the directory for temporary files using the ROOTDIR<br />

and TMPDIR environment variables.<br />

Too many key field positions specified<br />

This implementation of sort has a limit of 64 key field positions.<br />

Write error (no space) on output<br />

Some error occurred in writing the standard output. Barring write-protected<br />

media and the like, this normally occurs when there is insufficient disk<br />

space to hold all of the intermediate data.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide.<br />

Available on all <strong>UNIX</strong> systems, with only <strong>UNIX</strong> <strong>System</strong> V.2 or later having the full<br />

utility described here.<br />

The –M, –y, and –z options are extensions of the P<strong>OS</strong>IX standard.<br />

Related Information<br />

awk, comm, cut, join, uniq<br />

sort<br />

The sortgen awk script is a useful way to handle complex sorting tasks. It originally<br />

appeared in The AWK Programming Language, by Aho, Weinberger, and<br />

Kernighan. The P<strong>OS</strong>IX.2 standard regards the historical syntax for defining sorting<br />

keys as obsolete. Therefore, you should use only the –k option in the future.<br />

Chapter 2. Shell command descriptions 593

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

Saved successfully!

Ooh no, something went wrong!