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.

Options<br />

Examples<br />

– Searches the RACF data base to find user IDs. calendar uses the mailx<br />

command (or, alternatively, the command named in the MAILER<br />

environment variable) to send mail to the corresponding user for any<br />

appointments that are found to be current. Because calendar cannot<br />

determine each user’s locale, it runs in the P<strong>OS</strong>IX locale when this option is<br />

used; otherwise it runs in the user’s locale, processing data in single-byte<br />

mode.<br />

If today is Friday April 7th and the following calendar file is found in the current<br />

directory:<br />

tue mar 7 1:00 pm dentist<br />

Sat April 8 Trip to the zoo<br />

mon april 10 3:30 pm job interview<br />

4/11 vacation starts<br />

calendar prints the following:<br />

Sat April 8 Trip to the zoo<br />

mon april 10 3:30 pm job interview<br />

Environment Variable<br />

calendar uses the following environment variable:<br />

Files<br />

Localization<br />

Exit Values<br />

Portability<br />

MAILER<br />

Contains the name of the command that calendar uses to send mail. If this<br />

variable is not set, calendar uses /bin/mail as the default mail command.<br />

calendar uses the following file:<br />

calendar<br />

File used in the current directory, or user’s home directory.<br />

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

v LANG<br />

v LC_ALL<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F, “Localization” for more information.<br />

0 Successful completion<br />

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

v An incorrect command-line argument<br />

v An inability to open the calendar file<br />

X/Open Portability Guide, <strong>UNIX</strong> systems<br />

calendar<br />

The MAILER environment variable is an extension to traditional implementations of<br />

calendar.<br />

Chapter 2. Shell command descriptions 107

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

Saved successfully!

Ooh no, something went wrong!