you are here : home/Introduction to z/TPF Programming

Home    |    About Us    |    Contact Us    |    Links   |    Customers

 

Introduction to z/TPF Programming

Overview
This 12 day z/TPF training class is designed to give an in-depth overview of the concepts of z/TPF and then introduce the student to the z/TPF macros required to enable new programmers to write TPF Application programs. The z/TPF Technical Overview course is taught as the first 2 days of this class to give the students an introduction to the major concepts of z/TPF. Each session concludes with exercises to reinforce student knowledge of the concepts taught. On completion of this class there is an optional 2 week Programming Workshop, during which the students develop a programming project from design to implementation.

 

This class can be adjusted to customer requirements to ensure it is specifically targeted to your environment.

Pre-requisites
Students should have completed the Assembler Programming Class or have prior commercial experience of Assembler Programming.

Audience
Students who are required to write and maintain z/TPF application programs,
and staff who require z/TPF application programming knowledge in their job.

Student Numbers
The maximum recommended student to instructor ratio is 12:1

Objectives
By the end of the course, the delegates will be able, with the aid of course notes to:

Identify and describe the features and functions of a z/TPF system.
Identify and describe the coding principles and restrictions used in z/TPF
application programming.
Given the necessary specification, code a z/TPF segment in Assembler
language.

Course Outline

z/TPF Technical Overview

As per z/TPF Technical Overview Outline

Application Programming

SVC, Fastlink and Inline Macros
Data Definition Macros (DSECT)
EQUATE Macros
Register Usage
BEGIN/LTORG/FINIS/REGEQ/SYSEQ/END

TPF Main Storage

Virtual Addressing
Main Storage Layout
Addressing Modes 31 vs 64 Bit
Protect Keys
The ECB
Working Storage and 4K Frames
Working Storage Macros - GETCC/RELCC/DETAC/ATTAC/LEVTA/CRUSA/FLIPC
Heap Storage Macros - MALOC/CALOC/RALOC/FREEC
VFA

TPF Programs

The Program Allocation Table and its options
Programs –BSO/CSO
Basic Program Control Macros - ENTRC/ENTNC/ENTDC/BACKC/EXITC
Transfer Vectors
The Application Stack

TPF Fixed File

Fixed File - Overview
FACE Table and using FACE/FACS
File Address Formats
Record Standard Header
FARW/CBRW Relationship
I/O Options
Error Processing
FIND Macros - FINWC/FIWHC/FINDC/FINHC/WAITC
FILE Macros - FILEC/FILUC/FILNC/UNFRC
Data Event Control Blocks - DECBs

TPF Pool File

File Pool - Overview
File Pool Records - The options
TPF File Pool Macros - GETFC/RELFC/RLCHA/RCRFC/RCUNC
Lost Pool File Addresses
Duplicate use of Pool File Addresses
File Support Utilities - Recoup/PDU/On-line Capture/Restore
Fixed and Pool Examples

Globals

Overview
Global Areas and their layout
Global Directory
Global Fields/Application Global Records
Attributes and the Global Attribute Table (GAT)
Global Macros - GLOBZ/GLMOD/FILKW/SYNCC
Format 2 Globals and the macros used

Error Recovery

Program Interrupts
SERRC
SNAPC/LISTC

Create Macros

Overview
CREMC/CREDC/CREXC/CRETC/CREEC
Internal Event Facility (IEF) overview

Miscellaneous

Delay an ECB - DLAYC/DEFRC
TPF and Tapes - RTA/RTL/TOURC/TOUTC
Sending Output - WTOPC/FMSG

 

 

 

 

back to top

 

pcs-training.co.uk by Cold Blaze Design 2000. All rights reserved.