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.

|<br />

Localization<br />

Files<br />

Exit Values<br />

Portability<br />

Limits<br />

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

v LC_CTYPE<br />

v LC_MESSAGES<br />

v LC_TIME<br />

v NLSPATH<br />

See Appendix F for more information.<br />

The ability of mail to handle doublebyte characters (or even 8-bit ASCII depends on<br />

the underlying mail transport mechanism. You should restrict all messages to the<br />

P<strong>OS</strong>IX portable character set. To send messages containing doublebyte characters<br />

or even binary files, encode them first with uuencode.<br />

mail uses the following files:<br />

dead.letter<br />

The most recently canceled message.<br />

mbox The default file for saving read mail, stored in the directory specified by<br />

HOME.<br />

0 The session was successfully completed; if reading, there was mail.<br />

1 There was no mail, or the session could not be started.<br />

2 An error occurred after starting the session, or you supplied an invalid<br />

option, resulting in a usage message.<br />

P<strong>OS</strong>IX.2<br />

Because this utility is due to be withdrawn from P<strong>OS</strong>IX, you may want to use mailx<br />

for portable applications. The ability to write directly to a file is an extension to<br />

P<strong>OS</strong>IX.<br />

Any individual line is limited to LINE_MAX bytes; of course, transport mechanisms<br />

between systems may impose shorter limits.<br />

Related Information<br />

mailx, uudecode, uuencode<br />

Appendix I also explains how to set the local time zone with the TZ environment<br />

variable.<br />

mailx — Send or receive electronic mail<br />

Format<br />

mailx [–efHiNn] [–u user] [filename]<br />

mailx [–FinU] [–h number] [–r address] [–s subject] user ...<br />

mail<br />

Chapter 2. Shell command descriptions 371

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

Saved successfully!

Ooh no, something went wrong!