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.

|<br />

|<br />

|<br />

automount<br />

v When allocation-spec keyword TRACKS or BLOCK is specified in either the<br />

allocany or allocuser option for zFS type file systems, the specified SPACE( )<br />

units will be converted to approximate CYL equivalent units before allocating the<br />

zFS file system.<br />

The following formulas will be used to do the conversion into CYL units:<br />

1 TRACKS Unit = 1/15 CYL Unit<br />

1 BLOCK Unit = 1/180 CYL Unit<br />

Tip: The conversion used does not consider the device type.<br />

Related information<br />

chmount, mount, unmount<br />

awk — Process programs written in the awk language<br />

Format<br />

Description<br />

Options<br />

awk [–F ere] [–v var=value ...] [program] [var=value ...] [file ...]<br />

awk [–F ere] [–f prog] [–v var=value ...] [var=value ...] [file ...]<br />

awk is a file-processing language that is well suited to data manipulation and<br />

retrieval of information from text files. If you are unfamiliar with the language, you<br />

may find it helpful to read the awk information in z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong><br />

User’s Guide first.<br />

An awk program consists of any number of user-defined functions and rules of the<br />

form:<br />

pattern {action}<br />

There are two ways to specify the awk program:<br />

v Directly on the command line. In this case, program is a single command-line<br />

argument, usually enclosed in single quotes (') to prevent the shell from<br />

attempting to expand it.<br />

v By using the –f prog option.<br />

You can specify program directly on the command line only if you do not use any –f<br />

prog arguments.<br />

For a summary of the <strong>UNIX</strong>03 changes to this command, see Appendix N, “<strong>UNIX</strong><br />

shell commands changed for <strong>UNIX</strong>03.”<br />

awk recognizes the following options:<br />

–F ere Is an extended regular expression to use as the field separator.<br />

–f prog<br />

Runs the awk program contained in the file prog. When more than one –f<br />

option appears on the command line, the resulting program is a<br />

concatenation of all programs you specify.<br />

–v var=value<br />

Assigns value to var before running the program.<br />

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