
Shell Script Programming in z/OS UNIX - Course
Objectives
On successful completion of this class, the
student, with the aid of the appropriate
reference materials, should be able to:
- Use regular expressions in UNIX shell
commands, where supported
- Use the 'ed' line editor as well as the oedit
editor to create and maintain shell scripts
- Work with directories, files, and variables
using commands such as grep, find, and typeset
- Work with shell variables using let and expr
commands
- Create and run shell scripts, including the
use of these commands and features:
a. Prompting the script user for input using echo and
read
b. Conditional logic and looping using if, test, until,
while, break, continue
c. Supporting options and parameters using for, select,
case, and getopts
- Create and use user-defined shell functions,
both inside and outside of scripts
- Use the powerful facilities of sed, the stream
editor, including using sed scripts as a tool to convert text files and
flat files into HTML files for viewing on the Internet or corporate intranet
- Use classic and topological sorts of files,
and various tools to compare files and directories
- Run shell scripts and programs in batch using
the BPXBATCH facility.
Although not part of the formal lecture
materials, the appendices include comprehensive coverage of the vi / ex
editor as well as the shell command line editor and its vi, emacs, and
gmacs modes, and the bc programming language.
Course information: U-515 / 3
Days These Materials ©
Copyright 2009 by Steven H. Comstock V2.x
Topical outline
Course description
Home page
this page last updated: 01 September, 2009
this page copyright © 2009 by The Trainer's Friend, Inc.