Code row optype to return a value other than a zero-length string - Connect_CDC - connect_cdc_mimix_share - Latest

Connect CDC System Reference Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
Latest
Language
English
Product name
Connect CDC
Title
Connect CDC System Reference Guide
Copyright
2024
First publish date
2003
Last updated
2024-08-20
Published on
2024-08-20T21:40:14.000381

Use the following syntax to return a value other than the default zero-length string:

begin returns char;
    /* for copy this returns a 0-length string but one might not always find this acceptable */
   if (iscopy())
        /* return whatever string one wants - "C" for copy will        do */
        return 'C';
   else
       return rowoptype();
end;