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.

cksum<br />

File Tag Specific Options<br />

Localization<br />

Exit Values<br />

Portability<br />

–i Uses the CCITT standard cyclic redundancy check (CRC-CCITT). Data<br />

communication network protocols often use a cyclic redundancy check to<br />

ensure proper transmission. This algorithm is more likely to produce a<br />

different sum for inputs—the only difference is byte order.<br />

–p Uses the P<strong>OS</strong>IX.2 checksum algorithm. This is the default.<br />

–r Enables the use of an alternate checksum algorithm that has the advantage<br />

of being sensitive to byte order.<br />

–t Produces a line containing the total number of bytes of data read as well as<br />

the checksum of the concatenation of the input files.<br />

–T Enable autoconversion of tagged files.<br />

cksum uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

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

v Inability to open input file<br />

v An error reading the input file<br />

2 Unknown command-line option<br />

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

All the listed options are extensions of the P<strong>OS</strong>IX standard.<br />

Related Information<br />

cmp, diff, ls, sum, wc<br />

clear — Clear the screen of all previous output<br />

Format<br />

Description<br />

clear<br />

The clear command clears the screen of all output and places the cursor at the top<br />

of the screen.<br />

136 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!