CRE Programmer's Guide
Introducing the CRE
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
1-4
What Is the CRE?
The CRE coordinates many run-time tasks on behalf of the run-time libraries, thus 
providing a common environment for all routines in a program, regardless of language. 
The CRE provides services that significantly enhance your ability to create mixed-
language programs.
The following table shows the services the CRE provides in the OSS and Guardian 
environments:
Table 1-1. CRE/RTL Files
File name Default Location Description
CLUDECS $SYSTEM.SYSTEM Source file containing TNS CRE Saved Message 
Utility (SMU) functions, data, and data structure 
declarations in TAL.
CLURDECS $SYSTEM.SYSTEM Source file containing TNS/R and TNS/E native CRE 
Saved Message Utility (SMU) functions, data, and 
data structure declarations in pTAL.
CREDECS $SYSTEM.SYSTEM Source file containing TNS CRE functions, data, and 
data structure declarations in TAL.
CRERDECS $SYSTEM.SYSTEM Source file containing TNS/R and TNS/E native CRE 
functions, data, and data structure declarations in 
pTAL.
TALLIB $SYSTEM.SYSTEM Linkable code file containing the TNS CRE TAL 
initialization function definition.
RTLDECS $SYSTEM.SYSTEM Source file containing TNS CRE RTL functions, data, 
and data structure declarations in TAL.
RTLRDECS $SYSTEM.SYSTEM Source file containing TNS/R and TNS/E native CRE 
RTL functions, data, and data structure declarations 
in pTAL.
ZCRESRL $SYSTEM.SYSnn Shared run-time library or hybrid DLL executable 
code file containing all TNS/R native CRE functions 
and data definitions.
ZCREDLL $SYSTEM.ZDLLnnn DLL containing all TNS/E native CRE functions and 
data definitions.
Feature OSS Environment Guardian Environment
Shared access to 
standard files (standard 
input, standard output, 
and standard log)
Available independent of the 
CRE
Provided by the CRE
Shared access to a 
common user heap
Provided by the CRE Provided by the CRE
Management of 
$RECEIVE
Provided by the CRE 
(for server management only)
Provided by the CRE










