htalogo2.gif

Structured PL/I Coding Workshop - Topical Outline

Introduction

A PL/I Program

PL/I language elements

Describing elementary data items: CHARACTER and BIT

Describing CONSECUTIVE files

Assignment statement

Processing sequential files

OPEN, READ, WRITE, CLOSE, ON ENDFILE, DO ... END

Computer Exercise: A First PL/I Program

Numeric data elements: DECIMAL and BINARY

Structures

Additional data descriptions: PICTURE and editing

Computer Exercise: A Report with Pictures

Logical expressions

IF statements

DO loops

Computer Exercise: A More Complex Report

Program design concepts

A general pseudocode design approach

Built-in functions and pseudovariables

Computer Exercise: Programming with Pseudocode

Report considerations

Pseudocode: Report with page breaks

Computer Exercise: A Report with Page Breaks

Introduction to Stream I/O

Control Breaks

Pseudocode: Examples with control breaks

Computer Exercise: A Report with Two Levels of Control

Breaks

File merges and match merges

SELECT groups

Internal procedures and CALL

Pseudocode: Match merge examples

Writing Maintainable Code

Computer Exercise: Match Merge Logic

Arrays

Multi-dimensional arrays

Initializing arrays

Array operations

Computer Exercise: Table Handling

BLOCKS and Recognition of Names

LEAVE, EXIT, and STOP

DEFINED

LIKE

Update in place processing

Arithmetic expressions

GO TO

Optional Computer Exercise: Match Merge Extensions

 

These Materials © Copyright 2013 by Hunter Cobb

Materials version: V4.x

 

Course Description
Course Objectives
PL/I curriculum
Home page