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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ead<br />

Localization<br />

Usage Note<br />

Exit Values<br />

Messages<br />

Portability<br />

read uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

read is a built-in shell command.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v End-of-file on input<br />

v Incorrect variable<br />

v Incorrect descriptor specified after –u<br />

v Missing coprocess<br />

2 Incorrect command-line argument<br />

Possible error messages include:<br />

Cannot read on file descriptor ...<br />

You tried to read a file descriptor that was not opened for reading.<br />

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

The –p, –s, and –u options are extensions of the P<strong>OS</strong>IX :epsc. standard.<br />

Related Information<br />

continue, fc, print, sh<br />

readonly — Mark a variable as read-only<br />

Format<br />

Description<br />

readonly [–p] [name[=value] ...]<br />

readonly prevents subsequent changes in the value of any of the name arguments.<br />

Parameters of the form:<br />

name=value<br />

assign value to name as well as marking name read-only. If readonly is called<br />

without arguments, it lists, with appropriate quoting, the names you have set as<br />

read-only in the following format:<br />

Variable="value"<br />

526 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!