Broadcom - Interskill Learning Mainframe Training

[email protected]

The Online Mainframe Training Specialists
Search   Course Catalog  
Return to Catalog Home     Return to Curriculum Listing

REXX - Handling Errors

Duration

3 hours

Overview

When creating any program, you need to cater for when the inevitable errors occur. In this course you will look at handling errors from two perspectives. Firstly, you will see the type of code required to branch to an error routine that will perform actions that will – help with diagnosing the problem, clean up certain activity that has occurred, and end the program. Performing diagnostics on errors that have occurred to determine the problem is also covered in depth, highlighting utilities and code used to assist with this task.

Audience

Personnel responsible for writing or maintaining REXX programs.

Prerequisites

Successful completion of the Interskill REXX – Program Flow course.

Objectives

After completing this course the student should be able to:

  • Code a simple error routine, and branch to it
  • Identify REXX program issues using tracing facilities

Course Content

Error Routines

Types of REXX Errors
Handling Syntax Errors
SIGNAL ON SYNTAX
Turning Off the SIGNAL Trap
Handling Error and Failure Conditions
Managing Interruptions Using SIGNAL ON HALT
Managing Uninitialized Variables
CALL ON Instruction
SIGL Special Variable
Identifying Return Codes Using the RC Variable
Returning Error Messages using the ERRORTEXT Built-In Function
SOURCELINE Built-In Function Use
Using the CONDITION Built-In Function

Debugging REXX Programs

Debugging Capabilities of REXX
Invoking the TRACE Instruction
Trace Syntax
Tracing Output
TRACE Options
Trace Interactive Debug
Re-Executing a Clause During Interactive Debug
Skipping Debug Pauses
TRACE Built-In Function
Performance Debugging

REXX – Handling Errors Mastery Test


Search our catalog