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 />

|<br />

|<br />

|<br />

|<br />

|<br />

cxx<br />

cxx — Compile, link-edit and assemble z/<strong>OS</strong> C and z/<strong>OS</strong> C++ source<br />

code and create an executable file<br />

See c89/xlc or man xlc.<br />

Note: When working in the shell, to view man page information about cxx, type:<br />

man c89 or man xlc.<br />

date — Display the date and time<br />

Format<br />

Description<br />

Options<br />

date [–cu ] [+format]<br />

date displays the operating system’s idea of the current date and time. The<br />

following example shows the default format of the date:<br />

Wed Feb 26 14:01:43 EST 1986<br />

date accepts the following options:<br />

–c Displays the date and displays the time according to Greenwich Mean Time<br />

(Coordinated Universal Time) using CUT as the time zone name.<br />

–u Displays the date and displays the time according to Greenwich Mean Time<br />

(Coordinated Universal Time) using GMT as the time zone name.<br />

If the argument to date begins with a + character, date uses format to display the<br />

date. date writes all characters in format, with the exception of the % and the<br />

character that immediately follows it, directly to the standard output. After date<br />

exhausts the format string, it outputs a newline character. The % character<br />

introduces a special format field similar to the printf() function in the C library. date<br />

supports the following field descriptors:<br />

%A The full weekday name (for example, Sunday).<br />

%a The three-letter abbreviation for the weekday (for example, Sun).<br />

%B The full month name (for example, February).<br />

%b The three-letter abbreviation for the month name (for example, Feb).<br />

%C The first two digits of the year (00 to 99).<br />

%c The local representation of the date and time (see %D and %T).<br />

%D The date in the form mm/dd/yy.<br />

%d The two-digit day of the month as a number (01 to 31).<br />

%e The day of the month in a two-character, right-aligned, blank-filled field.<br />

%H The two-digit hour (00 to 23).<br />

%h The three-letter abbreviation for the month (for example, June).<br />

%I The hour in the 12-hour clock representation (01 to 12).<br />

%j The numeric day of the year (001 to 366).<br />

%M The minute (00 to 59).<br />

180 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!