TNS/R Native Application Migration Guide
Common Run-Time Environment (CRE) Migration
Tasks
TNS/R Native Application Migration Guide—523745-001
8-8
Exception-Handling Functions
Exception-Handling Functions
The CRE_Stacktrace_ function has separate TAL and pTAL declarations to support the
TNS and native stack architectures. See the CRE Programmer’s Guide for details.
$RECEIVE Functions
You cannot call the following CRE functions from native programs:
•
CRE_Receive_Open_Close_
•
CRE_Receive_Read_
•
CRE_Receive_Write_
Replace these functions with calls to the Guardian system procedures that support
$RECEIVE. See the Guardian Programmer’s Guide for more information.
Sixty-Four-Bit Logical Operation Functions
You cannot call the following CRE functions from native programs:
•
RTL_Shift_Left_Int64_
•
RTL_Shift_Right_Int64_
•
RTL_Complement_Int64_
•
RTL_And_Int64_
•
RTL_Or_Int64_
•
RTL_Xor_Int64_
•
RTL_Remainder_Int64_
There are no equivalent replacements. You must write your own code to replace these
functions.
Decimal-Conversion Functions
You cannot call the following CRE functions from native programs:
•
RTL_Decimal_to_Int16_
•
RTL_Decimal_to_Int32_
•
RTL_Decimal_to_Int64_
•
RTL_Int16_to_Decimal_
•
RTL_Int32_to_Decimal_
•
RTL_Int64_to_Decimal_
There are no equivalent replacements. You must write your own code to replace these
functions.