Introduction
to TPF 4.1 Programming
Overview
This 10 TPF training class is designed to give an
in-depth overview of the concepts
of TPF and then introduce the student to the TPF macros
required to enable new programmers to write TPF Application
programs. The TPF
Technical Overview course is taught as the first
2 days of this 10 day class to give the students an
introduction to the major concepts of 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.
Pre-requisites
Students should have completed the S390
Assembler Class or have prior commercial experience
of Assembler Programming.
Audience
Students who are required to write and maintain
TPF application programs, and staff who require
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 TPF system.
· Identify and describe the coding principles
and restrictions used in TPF application programming.
· Given the necessary specification, code
a TPF segment in Assembler language.
Course Outline
TPF
Technical Overview |
As
per 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
Addresses - EVM/SVM
Main Storage Layout
Addressing Modes 31 vs 24 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
Core Resident and File Resident Programs
Basic Program Control Macros - ENTRC/ENTNC/ENTDC/BACKC/EXITC
Transfer Vectors |
TPF
Fixed File |
Fixed
File - Overview
FACE Table and using FACE/FACS
File Address Formats - FARF3/FARF4/FARF5
Record Standard Header
FARW/CBRW Relationship
I/O Options
Error Processing
FIND Macros - FINWC/FIWHC/FINDC/FINHC/WAITC
FILE Macros - FILEC/FILUC/FILNC/UNFRC |
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 |
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