Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Writing z/OS shell scripts z/OS UNIX System Services User's Guide SA23-2279-00 |
|
Programming interface information
Most people find themselves using some sequences of commands over
and over again.
To simplify such jobs, the shell lets you run a sequence of commands that have been stored in a text file. For example, the programmer could store all the appropriate compiling and linking commands in a file. A file containing commands in this way is called a shell script. After such a file is completed and it is made “executable,” the programmer can run all the commands in the file by entering the file name on the command line. Putting commands in a shell script has several advantages over
typing the commands individually. Using a shell script:
For all these reasons, you will probably find that the use of shell scripts makes your work easier and more productive. This topic provides only a brief overview, but it should give you an idea of how to write and use shell scripts. End of Programming interface information
|
Copyright IBM Corporation 1990, 2014
|