Shell Script Programming in z/OS UNIX
Course Number: 596-JK
Recommended Duration: 3 days
Intended 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.
Course Overview
Students learn to use advanced capabilities of UNIX System Services running under z/OS. There are 19 hands-on exercises, as well as a number of structured computer experiments.
Objectives
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.
Prerequisites
Fundamental knowledge of z/OS UNIX system services, such as might be obtained from attending Introduction to z/OS UNIX .
Topics
-
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
|