PL/1 Accessing Data in Files

Duration

4 to 5 hours

Overview

Audience

Application programmers who maintain and develop commercial and scientific PL/1 programs

Prerequisites

Knowledge of programming concepts and experience with mainframe system architecture

Objectives

After completing this course, the student will be able to:
• Identify how to access files
• Recognize file processing methods
• Identify condition and error handling

Course Content

Consecutive File Processing

Record-Orientated File Processing Concepts
Consecutive File Characteristics
File Declarations for a Consecutive File
Read, Write and Update Operations
Input and Output Area Definition
End-of-File Processing

Direct Access File Processing

Direct Vs Random Record Location
Keys and Random Access
VSAM Data Set Types Characteristics and Declaration:

  • ESDS
  • KSDS
  • RRDS

Indexed Data Sets
Using Keys
Skip Sequential Processing
Conditions Set by Key Processing
Move File Processing
Locate File Processing

Other File Processing Methods

Stream-Orientated File Processing
Characteristics of Stream I/O
GET and PUT Statements
File Attributes and I/O Statements
How to Select Different Data Set Types for Your Programs

Condition and Error Handling

ON Statement Definition
Built-In Conditions and User Defined Conditions
On Conditions Affecting Program Flow and Control
Scope of ON Conditions
Commonly Encountered PL/1 Conditions:
Generic Error Conditions
File Related Conditions
Arithmetic Related Conditions
Storage Related Conditions

© Copyright 2009. All rights reserved. Interskill Learning, Inc.