CRE Programmer's Guide

Contents
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
iii
2. CRE Services (continued)
2. CRE Services (continued)
Language-Specific Error Handling 2-52
C Routines 2-52
COBOL Routines 2-53
FORTRAN Routines 2-54
TAL Routines 2-54
pTAL Routines 2-54
Reporting CRE Errors in the OSS Environment 2-54
Native CRE Signals and Exceptions 2-55
Using CRE Services 2-56
Using Standard Functions 2-56
CRE and RTL Prefixes 2-57
Type Suffixes 2-59
Using Process Pairs 2-59
Requirements for Using Process Pairs 2-59
Language Support for Process Pairs 2-60
Using C Routines in Process Pairs 2-60
Results of Operations That Support Process Pairs 2-61
Using the Inspect, Native Inspect, and Visual Inspect Symbolic Debuggers With CRE
Programs 2-62
Selecting a Debugger 2-63
Locating the Corrupter of TNS CRE Pointers 2-64
Circumventing the CRE 2-66
3. Compiling and Binding Programs for the TNS CRE
Compiling Programs for the CRE 3-1
Specifying a Run-Time Environment
3-1
Sourcing-in CRELIB Function Declarations
3-4
CRE Data Blocks 3-5
Binding Programs for the CRE 3-5
Run-Time Libraries 3-7
Sample Binder Sessions 3-8
Bind-Time Validation for Mixed-Language Programs 3-8
4. Compiling and Linking Programs for the Native CRE
Using the Environment Variable for C and C++ Modules 4-1
Sourcing In CRE External Declarations for pTAL Modules 4-2
Linking Modules 4-3