REXX Programming II for VSE


Duration

2 hours

Overview

Audience

Programmers who require further REXX Programming Skills

Prerequisites

An understanding of the fundamentals of REXX Programming or the Datatrain Programming in REXX I course.

Objectives

After completing this course, the student should be able to -
  • Write a structured REXX program, including the BLK_INIT, BLK_CALC, & BLK_SHOW procedures
  • Add error messages

Course Content

Module 1 WRITING A STRUCTURED REXX PROGRAM

  • BLKSIZE Calculator as an Example Program
  • Structure of BLKSIZE EXEC and Parameters
  • Calculating Variables and Constants
  • Finished Program

Module 2 BLK_INIT PROCEDURE

  • Subroutine BLK_INIT
  • Validate Input Parameters
  • Coding the Parameters
  • Return Codes

Module 3 BLK_CALC PROCEDURE

  • How BLKSIZE is calculated
  • Arithmetic Functions

Module 4 BLK_SHOW PROCEDURE

  • SAY Keyword
  • Formatting Displays
  • End/Return Statement

Module 5 ADDING ERROR MESSAGES

  • Setting up Error Codes
  • Select and Alternate Action
 
© Copyright 2007. All rights reserved. Interskill Learning, Inc.