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 />

occurs on the archive; the reasoning is that this kind of error means that<br />

pax has reached the end of the volume and is to go on to a new one. An<br />

interrupt at this point ends pax.<br />

–v Lists pathnames on the standard error stream just before beginning to<br />

process the files or directories, but after any –i, or –s options have had<br />

their effect. In list mode (neither –r nor –w is specified), pax displays a<br />

“verbose” table of contents; this verbose format shows information about<br />

the components in the same format used by the ls command. See “Output”<br />

on page 490 for more information.<br />

-W seqparms=parms<br />

Specifies the parameters needed to create a sequential data set if one does<br />

not already exist. You can specify the RECFM, LRECL, BLKSIZE, and<br />

SPACE in the format that fopen() function uses.<br />

SPACE=(units,(primary,secondary) where the following values are<br />

supported for units:<br />

v Any positive integer indicating BLKSIZE<br />

v CYL (mixed case)<br />

v TRK (mixed case)<br />

Space may be specified as follows:<br />

SPACE=(500,(100,500)) units, primary, secondary<br />

SPACE=(500,100) units and primary only<br />

Note: The fopen() arguments: LRECL specifies the length, in bytes, for<br />

fixed-length records and the maximum length for variable-length<br />

records. BLKSIZE specifies the maximum length, in bytes, of a<br />

physical block of records. RECFM refers to the record format of a<br />

data set and SPACE indicates the space attributes for MVS data<br />

sets.<br />

For example:<br />

pax -W "seqparms=’RECFM=U,space=(500,100)’" -wf "//’target.dataset’" source<br />

For information on how to specify these parameters, see z/<strong>OS</strong> XL C/C++<br />

Programming Guide.<br />

–w Writes files to the standard output in the specified archive format.<br />

–X Writes out only those files that are on the same device as their parent<br />

directory. However, it will not copy a directory currently used as a mount<br />

point. The user must either unmount the file system from that mount point<br />

or copy the directory manually.<br />

–x format<br />

Specifies a file format for an output archive. The format argument can be:<br />

cpio Standing for the ASCII format used by the cpio command.<br />

cpiob Standing for the binary format used by cpio.<br />

os390 Standing for the <strong>OS</strong>390 format which has all the support for<br />

saving/restoring extended USTAR support such as special headers,<br />

external links, and long links. This format is only supported on z/<strong>OS</strong><br />

systems.<br />

pax Standing for the pax Interchange Format which, like os390<br />

format(-x os390) and extended USTAR(-o saveext), saves or<br />

restores file attributes that cannot be stored in the USTAR header<br />

format such as ACLs, external links, long link names, long path<br />

names, file tags and extended attributes. Additionally the pax<br />

Interchange Format can save/restore file attributes which cannot be<br />

pax<br />

Chapter 2. Shell command descriptions 487

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

Saved successfully!

Ooh no, something went wrong!