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.

3. The P<strong>OS</strong>IX 1003.1 standard defines formats for pax and tar archives that limit<br />

the length of the target of a link file to 100 characters or less.<br />

Note: In the case of a hard link, the target is the first occurrence of the hard<br />

link which is archived. Subsequent hard links refer to the first instance.<br />

Beginning with <strong>OS</strong>/390 Release 6, pax and tar provide extended USTAR<br />

support that allows these links to be preserved when creating an archive and<br />

restored when reading an archive. They may also be saved and restored using<br />

the <strong>OS</strong>390 archive format. See “z/<strong>OS</strong> extended USTAR support” on page 498<br />

for more information.<br />

4. The P<strong>OS</strong>IX 1003.1 standard defines formats for pax and tar archives that limit<br />

the size of a file that can be stored in a pax and tar archive to less than 8<br />

gigabytes in size. If a file being archived is 8 gigabytes or greater, an error<br />

message is issued, and the file is skipped. The command continues, but will<br />

end with a non-zero exit status.<br />

5. When transferring archives between z/<strong>OS</strong> and other <strong>UNIX</strong> systems, note the<br />

following:<br />

a. File transfers (for example, using OPUT/OGET or ftp put/get) must be done<br />

using binary or image format. This is true, even for archives consisting only<br />

of text files.<br />

b. You may need to convert text files from EBCDIC to ASCII (or some other<br />

character set). The pax -o option can be used to convert text files while an<br />

archive is being created or being restored. You can use the iconv utility to<br />

convert files before they are stored in the archive or after restoring them<br />

from an archive.<br />

6. Automatic conversion on files with file tag information is disabled when:<br />

v reading files during creation of an archive<br />

v during writes while extracting files from an archive<br />

That is, the settings of system and environment variables that turn automatic<br />

conversion on and off will have no affect on pax’s reading and writing of files.<br />

Extended header keywords<br />

The following extended header keywords are applicable only in the -x pax format.<br />

atime The file access time for the following files, equivalent to the value of the<br />

st_atime member of the stat structure for a file.<br />

charset<br />

The name of the character set used to encode the data in the following<br />

files. The entries in this table are defined to refer to known standards and<br />

the charset value used to represent each:<br />

The encoding is included in an extended header for information only; when<br />

pax is used as described, it does not translate the file data into any other<br />

encoding. The BINARY entry indicates unencoded binary data.<br />

Table 26. Charset standards<br />

Formal Standard<br />

ISO-IR 646 1990 ISO/IEC 646:1990<br />

ISO-IR 8859 1 1998 ISO/IEC 8859-1:1998<br />

ISO-IR 8859 2 1999 ISO/IEC 8859-2:1999<br />

ISO-IR 8859 3 1999 ISO/IEC 8859-3:1999<br />

ISO-IR 8859 4 1998 ISO/IEC 8859-4:1998<br />

pax<br />

Chapter 2. Shell command descriptions 491

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

Saved successfully!

Ooh no, something went wrong!