you are here : home/Programming ISOC for TPF

Home   |   About Us   |   Contact Us   |   Links|   Customers   

Programming ISOC for TPF

Overview
This course is designed to give Application Development staff a practical introduction to applying the C Programming language (ISOC) in the TPF Environment. It is a practical 5 day course with lectures, interspersed with exercises to consolidate the knowledge gained.

Pre-Requisites
Prior Mainframe Assembler and TPF knowledge is required. Students should have attended the 5 day C Programming class or have prior commercial experience of C programming.

Audience
Programmers who are required to program in TPF using the ISOC programming language.

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

Objectives
On completion of the syllabus students will be able, with the aid of course notes, to:

· Access the ECB in an ISOC Environment.
· Write C Headers to map existing Dsects.
· Interpret ISOC Listings.
· Use TPF API functions in C programs
· Interface with existing Assembler programs.
· Analyse ISOC dumps to interpret C code and storage areas.


Course Outline

 
Introduction Objectives
Terminology
The DLM
The ECB Overview
What happened to R9?
Using ecbptr()
The Pre Processor Using #pragma options
Writing and using macros
Conditional Compilations
Header Files Standard TPF Header Files
Converting a DSect to a Header File
_Packed vs #Pragma Pack
Pitfalls
Listings Review
The Pseudo Assembler
Optimised Code
Functions Prolog
Epilog
Efficient storage usage
Assembler Programs Interface
TPF_regs structure
24 bit vs 31 bit
Existing APIs Program management
Input/Output
Working storage
File handling
Globals
Error handling
File Pool Management
Program Interfaces C to C
C to Assembler
Assembler to C
Parameter List
Introduction to Dump Analysis ISOC Register Conventions
Module Map
Identifying variables, parameters and static storage

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