htalogo2.gif

z/OS Assembler Programming Part 2: Interfaces - Topical Outline

Day One

Program linkages

Control Sections

Save Areas

Addressability

Return Codes

Typical Linkages

SAVE and RETURN macros

Getting the PARM value from EXEC statement

Working with files

Data set organizations and access methods

DCB Macros

OPEN, GET, PUT, CLOSE

Error handling: SYNAD routines

ABEND macro

Computer Exercise: Basic Program Linkages and QSAM Files

Subroutines and the Program Binder

CSECTs and the Program Binder

Assemble, Bind, and Run Data Flow

Anatomy of an Assembly Listing

Assembler PARMs

Subroutines: the CALL macro

Object Modules and Load Modules

Program Binder control statements and PARMs

Managing Print Files

Computer Exercise: Subroutine Linkages

 

Day Two

Program Binder and Maintenance

Impact of Changes to a Subroutine

Additional Program Binder Control Statements

Program Binder Processing

Computer Exercise: The Program Binder and Maintenance

Debugging and Dump Reading

Computer Exercise: ONION

Guidelines for Debugging

Program Termination

IBM Publications

Quick Reference

File Related Messages

Common System Completion Codes

z/OS Structure

Essential Control Blocks

Dump Reading

Debugging: The Larger Context

Some System Services

WTO - Write To Operator

SNAP - Take a Snapshot Dump

TIME - Get the Date and Time

STCKCONV - Convert a STCK value to Date and Time Format

CONVTOD - Convert a Date and Time value to TOD Format

Variable Length Records

Defining

Processing

Computer Exercise: Variable Length Records

 

Day Three

QSAM Locate Mode

GET and PUT using locate mode

Update-in-place: PUTX

31-Bit Addressability Considerations

Dynamic Linkages

Static Linkages

Dynamic Linkages

Module Attributes

The Search for Modules

LOAD

DELETE

LINK

Reusable and Reenterable programs

Computer Exercise: Dynamic Serial Linkages

XCTL and Storage Management

XCTL - an introduction

GETMAIN / FREEMAIN

Subpools

XCTL Resumed

Computer Exercise: Using XCTL

Writing Reentrant Programs

Writing Reentrant Programs

Reentrant Save Area Chaining

Reentrant I/O

Reentrant Processing

Sample Reentrant Program

Computer Exercise: Making a Program Reentrant

I/O and Amode 31

AMODE 31 I/O Issues

AMODE 31, RMODE 24

AMODE 31, RMODE ANY

 

These Materials © Copyright 2012 by Steven H. Comstock

Materials version: V4.x

 

Course Objectives
Course Description
Home page