CRE Programmer's Guide
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
5-1
5
Using the Common Language Utility 
(CLU) Library
This section describes the services provided by the Common Language Utility (CLU) 
library. It explains how to use the services of the Saved Message Utility (SMU), part of 
the CLU library, in COBOL, FORTRAN, and TAL routines in the TNS environment, and 
in C, C++, COBOL, and pTAL routines in a native environment.
CLU library routines can be used only in the Guardian API.
What Is the CLU Library?
The Common Language Utility (CLU) library is a collection of functions that provides 
common services to two or more language products. CLU functions provide a separate 
set of services from the CRE routines. 
The CLU provides services that enable:
•
COBOL and FORTRAN routines to create processes
•
COBOL and FORTRAN routines to locate and identify file connectors
(TNS CRE only)
•
COBOL, FORTRAN, TAL, and pTAL routines to save and manipulate messages 
sent to a process by the operating system
CLU functions differ in general from CRE functions as shown in Table 5-1
 on page 5-1. 
Note also that CRE functions work only in the CRE, whereas CLU functions work either 
in the CRE or in certain language-specific run-time environments.
Table 5-1. Comparison of CRE and CLU Functions
TNS CRE Native CRE TNS CLU Native CLU
Where 
located
CRELIB file Shared run-time 
library, or hybrid 
dynamic-link 
library (DLL) for 
TNS/R
DLL for TNS/E
CLULIB file Shared run-time 
library, or hybrid 
dynamic-link 
library (DLL) for 
TNS/R
DLL for TNS/E
How to use Can optionally 
be bound into 
TNS programs
Binding not 
required
Must be explicitly 
bound into TNS 
programs
Binding not 
required










