TNS/R Native Application Migration Guide
Common Run-Time Environment (CRE) Migration
Tasks
TNS/R Native Application Migration Guide—523745-001
8-5
String Functions
String Functions
These CRE string functions cannot be called by native programs. The following table
lists the obsolete functions and suggests replacement functions:
RTL_Sign_Int16_
RTL_Sign_Int32_
RTL_Sign_Int64_
RTL_Sign_Real32_
RTL_Sign_Real64_
Write your own function that returns its
first parameter with the sign set
according to its second parameter.
RTL_Sin_Real32_
RTL_Sin_Real64_
SIN sin()
CRE_Sinh_Real32_
RTL_Sinh_Real32_
CRE_Sinh_Real64_
RTL_Sinh_Real64_
sinh()
RTL_Split_Real64_ MOD modf()
CRE_Sqrt_Real32_
RTL_Sqrt_Real32_
CRE_Sqrt_Real64_
RTL_Sqrt_Real64
_
SQRT sqrt()
RTL_Tan_Real32_
RTL_Tan_Real64_
TAN tan()
CRE_Tanh_Real32_
RTL_Tanh_Real32_
CRE_Tanh_Real64_
RTL_Tanh_Real64_
tanh()
RTL_Truncate_Real32_
RTL_Truncate_Real64_
Write your own function that returns
the nonfractional part of a number.
RTL_Upper_Real64_ ceil()
Table 8-2. Obsolete String Functions (page 1 of 3)
Obsolete Function Suggested Replacement
RTL_Atof_ atof() in the native C run-time library
RTL_Atoi_ atoi() in the native C run-time library
RTL_Atol_ atol() in the native C run-time library
RTL_Stcarg_
RTL_StcargX_
strcspn() with a string of bytes representing the characters
for which to search
Table 8-1. Obsolete Standard Math Functions (page 3 of 3)
Obsolete Function
Suggested Replacement
COBOL85
Only
All Languages
(including COBOL85)