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

|<br />

|<br />

|<br />

Contents<br />

Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi<br />

Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii<br />

About this document . . . . . . . . . . . . . . . . . . . . . . xv<br />

Who should use this document . . . . . . . . . . . . . . . . . . . xv<br />

Finding more information about other products . . . . . . . . . . . . . xv<br />

Summary of changes . . . . . . . . . . . . . . . . . . . . . . xix<br />

Chapter 1. Introduction to shell commands and DBCS . . . . . . . . . 1<br />

Reading the command descriptions . . . . . . . . . . . . . . . . . . 1<br />

Using the doublebyte character set (DBCS) . . . . . . . . . . . . . . . 7<br />

Chapter 2. Shell command descriptions . . . . . . . . . . . . . . . 11<br />

alias — Display or create a command alias . . . . . . . . . . . . . . 11<br />

ar — Create or maintain library archives . . . . . . . . . . . . . . . 14<br />

as — Use the HLASM assembler to produce object files . . . . . . . . . 18<br />

asa — Interpret ASA/FORTRAN carriage control . . . . . . . . . . . . 21<br />

at — Run a command at a specified time . . . . . . . . . . . . . . . 22<br />

autoload — Indicate function name not defined . . . . . . . . . . . . . 25<br />

automount — Configure the automount facility . . . . . . . . . . . . . 26<br />

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

basename — Return the nondirectory components of a pathname . . . . . . 48<br />

batch — Run commands when the system is not busy . . . . . . . . . . 49<br />

bc — Use the arbitrary-precision arithmetic calculation language . . . . . . 50<br />

bg — Move a job to the background . . . . . . . . . . . . . . . . . 66<br />

bpxmtext — Display reason code text . . . . . . . . . . . . . . . . 66<br />

break — Exit from a loop in a shell script . . . . . . . . . . . . . . . 67<br />

c++ — Compile, link-edit and assemble C and C++ source code and create an<br />

executable file on z/<strong>OS</strong> . . . . . . . . . . . . . . . . . . . . . 68<br />

c89 — Compiler invocation using host environment variables . . . . . . . . 68<br />

c99 — Compile, link-edit and assemble C source code and create an<br />

executable file on z/<strong>OS</strong> . . . . . . . . . . . . . . . . . . . . 105<br />

cal — Display a calendar for a month or year . . . . . . . . . . . . . 105<br />

calendar — Display all current appointments . . . . . . . . . . . . . 106<br />

cancel — Cancel print queue requests (stub command) . . . . . . . . . 108<br />

captoinfo — Print the terminal entries in the terminfo database . . . . . . . 108<br />

cat — Concatenate or display text files . . . . . . . . . . . . . . . 110<br />

cc — Compile, link-edit and assemble C source code and create an executable<br />

file on z/<strong>OS</strong> . . . . . . . . . . . . . . . . . . . . . . . . . 111<br />

cd — Change the working directory . . . . . . . . . . . . . . . . . 111<br />

ceebldtx — Transform message source files into assembler source files . . . 114<br />

chaudit — Change audit flags for a file . . . . . . . . . . . . . . . . 117<br />

chcp — Set or query ASCII/EBCDIC code pages for the terminal . . . . . . 119<br />

chgrp — Change the group owner of a file or directory . . . . . . . . . . 121<br />

chlabel — Set the multilevel security label of files and directories . . . . . . 123<br />

chmod — Change the mode of a file or directory . . . . . . . . . . . . 124<br />

chmount — Change the mount attributes of a file system . . . . . . . . . 127<br />

chown — Change the owner or group of a file or directory . . . . . . . . 129<br />

chroot — Change the root directory for the execution of a command . . . . . 130<br />

chtag — Change file tag information . . . . . . . . . . . . . . . . 132<br />

cksum — Calculate and write checksums and byte counts . . . . . . . . 135<br />

© Copyright IBM Corp. 1996, 2007 iii

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

Saved successfully!

Ooh no, something went wrong!