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.

Options<br />

txtflag = ON indicates the file has uniformly encoded text data<br />

txtflag = OFF indicates the file has non-uniformly encoded text data<br />

Only files with txtflag = ON and a valid codeset are candidates for automatic<br />

conversion. If txtflag = OFF and a codeset is associated with it, automatic<br />

conversion will not take effect. However, user applications can take advantage of<br />

the associated codeset information and perform code set conversion by themselves.<br />

For information about enabling automatic conversion, see the ″Using Enhanced<br />

ASCII Functionality″ topic of z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.<br />

–b Indicates that the file contains only binary (non-uniformly encoded) data.<br />

Automatic conversion is disabled with this option.<br />

–b is mutually exclusive with the –c, –m, –t, or –r options.<br />

–c codeset<br />

Allows the user to modify the codeset associated with the file. codeset can<br />

be a character code set name known to the system, or the numeric coded<br />

character set identifier (CCSID) (if a numeric codeset name exists, the<br />

CCSID associated with that name will be used). –c is mutually exclusive<br />

with the –r and –b options.<br />

–h Does not change file tag information if the file is a symbolic link (or an<br />

external link).<br />

–m Indicates that the file contains mixed text and binary data. The data is not<br />

uniformly encoded, but to identify the encoding of portions of the file that<br />

are text, this option allows the specifications of a codeset with the –c<br />

option. This option sets txtflag = OFF. When used without –c, the existing<br />

character codeset associated with the file is retained.<br />

Automatic conversion is disabled with this option. However, user<br />

applications can independently convert any text data residing in the file by<br />

knowing the codeset associated with it. –m is mutually exclusive with the<br />

–b, –t and –r options.<br />

–p Prints file tag information associated with a file. If no codeset name is<br />

associated with the CCSID in the file tag, the numeric CCSID will be<br />

presented instead.<br />

Sample output looks like:<br />

t IBM-1047 T=on file1<br />

- untagged T=on file2<br />

b binary T=off file3<br />

m ISO-8859-1 T=off file4<br />

- untagged T=off file5<br />

b binary T=on file6<br />

Where:<br />

t = text<br />

b = binary<br />

m = mixed<br />

– = untagged<br />

chtag<br />

Chapter 2. Shell command descriptions 133

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

Saved successfully!

Ooh no, something went wrong!