TTFlogo2.gif (2585 bytes)

Course Description

Shell Script Programming in z/OS UNIX

 

This course: course objectives; course outline; UNIX curriculum; z/OS curriculum; Topic list; Course list; Home page

 

Course Code: U-515
Recommended Duration: 3 Days

Benefits

Students who complete this course will be able to use many of the advanced capabilities of UNIX System Services running under z/OS. This is an intense, practical encounter with the UNIX world as implemented on the z/OS platform, and a natural follow on to the course U510: "Introduction to z/OS UNIX".

Audience

Programmers experienced with working in an OS/390 or  z/OS environment who will be designing and coding applications that are to be run using z/OS UNIX, especially Web-based applications.

Prerequisites

Fundamental knowledge of z/OS UNIX system services, such as might be obtained from attending course U510: "Introduction to z/OS UNIX".

Related IBM Materials

This course is drawn from this and other IBM manuals; access to this publication in the classroom is desirable but not required:

SA22-7801 - z/OS UNIX User's Guide
SA22-7802 - z/OS UNIX Command Reference

 

Major Topics Include
  • Introduction to scripting concepts
  • Running UNIX applications: shells, processes, and such
  • Regular expressions
  • grep, egrep, fgrep commands
  • The shell line editor: ed
  • The find command
  • find and grep together
  • Introduction to shell scripts
  • read, clear, getconf commands
  • Logic in scripts: if, test, pathchk
  • Looping in scripts: [[ ]], until, while, nested loops, break, continue
  • Variable manipulations: let, expr, typeset, integer
  • Parameters in shell scripts: for; special parameters; array variables
  • More script logic: select, case, getopts
  • Functions (in scripts and stand alone)
  • Shell flags and options; set and unset
  • z/OS shell processing; sh, exec, whence, type, eval, xargs
  • sed: the Stream Editor
  • Using sed scripts to convert plain text to HTML
  • Using sed scripts to create HTML files from flat data files
  • Sorts: tsort, sort
  • File compares and more
  • Running shell scripts in batch: BPXBATCH, BPXBATSL
  • The OSHELL command

Exercises

There are 19 hands-on exercises, as well as a number of structured Computer Experiments.

 

UNIX curriculum
z/OS curriculum
Complete topics list
Home
this page last updated: 07 May, 2006

View course objectives and topical outline

Copyright © 2006 by Steven H. Comstock