TTFlogo2.gif (2585 bytes)

 

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:

  1. Use regular expressions in UNIX shell commands, where supported

  2. Use the 'ed' line editor as well as the oedit editor to create and maintain shell scripts

  3. Work with directories, files, and variables using commands such as grep, find, and typeset

  4. Work with shell variables using let and expr commands

  5. 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

  6. Create and use user-defined shell functions, both inside and outside of scripts

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

  8. Use classic and topological sorts of files, and various tools to compare files and directories

  9. 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 2006 by Steven H. Comstock   V2.x

 

Topical outline
Course description
Home page

 

this page last updated: 08 June, 2006
this page copyright © 2006 by The Trainer's Friend, Inc.