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.

Localization<br />

Exit Values<br />

Portability<br />

Related Information<br />

lm, rlogin<br />

times, omit –a when just the EBCDIC code page needs to be changed. Omit –e<br />

when just the ASCII code page needs to be changed.<br />

5. All code pages with names not known to chcp are considered to be singlebyte<br />

(SBCS) user-defined code pages. User-defined multibyte code pages are not<br />

supported.<br />

6. chcp cannot check user-defined code page names to make sure that –a really<br />

specifies an ASCII code page and –e specifies an EBCDIC code page. In this<br />

case, specifying the wrong code pages may cause terminal input and output to<br />

be completely unreadable. It may also be impossible to enter any more shell<br />

commands.<br />

7. chcp operates on the controlling terminal.<br />

8. chcp should not be run as a background job.<br />

9. The –d option specifies that special debugging information be printed. Specify<br />

this option only when requested by IBM.<br />

chcp 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 Incorrect command-line arguments or options<br />

2 Any of the following errors:<br />

v There is no controlling terminal.<br />

v The controlling terminal does not support ASCII/EBCDIC code page<br />

conversion (the TSO/E OMVS command, for example).<br />

v iconv_() fails when passed the code page names specified on the<br />

command line.<br />

v chcp cannot build SBCS conversion tables using iconv() when required.<br />

v An I/O error occurred on the controlling terminal.<br />

v Either the –a or –e was omitted and the chcp –s command was run<br />

while the terminal code page conversion is in binary mode.<br />

None. chcp is not described in any standard.<br />

chgrp — Change the group owner of a file or directory<br />

Format<br />

chgrp [–fhR] group pathname ...<br />

chcp<br />

Chapter 2. Shell command descriptions 121

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

Saved successfully!

Ooh no, something went wrong!