BMC - Interskill Learning Mainframe Training

[email protected]

The World’s Most Delivered Mainframe Training
Search   Course Catalog  
Return to Catalog Home     Return to Curriculum Listing

PL/1 Accessing Data in Files

Duration

5 hours

Overview

The PL/1 Accessing Data in Files course explains how to use PL/1 to access and update data in both sequential and random access files. It also describes how to handle file and generic error conditions.

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

PL/1 Accessing Data in Files Mastery Test