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.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

Description<br />

Options<br />

Localization<br />

Exit Values<br />

Portability<br />

pathchk checks one or more pathnames (specified by pathname) for validity and<br />

portability (based on the underlying file system). A pathname is valid if you can use<br />

it to create or access a file without causing a syntax error. A pathname is portable if<br />

the file system does not truncate the name when it tries to use it. pathchk writes an<br />

error message indicating the error detected and the erroneous pathname if any<br />

pathname:<br />

v Is longer than PATH_MAX bytes<br />

v Contains a component longer than NAME_MAX bytes<br />

v Contains any component in a directory that is not searchable<br />

v Contains any character in any component that is not valid<br />

–p Instead of using the previous criteria, writes an error message if pathname:<br />

v Is longer than _P<strong>OS</strong>IX_PATH_MAX bytes<br />

v Contains any component longer than _P<strong>OS</strong>IX_NAME_MAX bytes<br />

v Contains any character in any component that is not in the portable<br />

filename character set<br />

pathchk 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 All pathnames passed the check<br />

1 An error occurred<br />

2 Unknown command-line option<br />

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

pax — Interchange portable archives<br />

Format<br />

v pax [–cdEnvz][-H|-L][–f archive] [–o type] [–s substitute] ... [pattern ...]<br />

v pax –r [–cdEiknquvz] [-H|-L] [–f archive] [–o options ...] [–p string ...] [–s<br />

substitute ...] [–V volpat] [pattern ...]<br />

pathchk<br />

v pax –w [–dEituvXz] [-H|-L] [-W seqparms=parms] [–b blocksize] [[–a] [–f<br />

archive]] [–o options ...] [–ssubstitute ...] [–V volpat] [–x format] [pathname ...]<br />

v pax –r –w [–CdDEiklLMntuvX] [-H|-L][–o options ...] [–p string ...] [–s substitute<br />

...] [pathname ...] directory<br />

Chapter 2. Shell command descriptions 473

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

Saved successfully!

Ooh no, something went wrong!