Andreas,
I believe you are correct about it excluding the 'o', 'd', and 'r' routines, but that's only part of the problem I'm seeing. For example, in sysprocedures, a number of these "system-generated" routines have mode = "O". Examples include binary18cast, binary18expb, binary18in, binary18out, binary18recv, binaryvarcast, binaryvarexpb, binaryvarexpt, binaryvarimpb, compare, equal, greaterthanorequal, and notequal.
Running 'dbschema -d
database_name -f all | grep -i "^create " | grep equal', I get:
create function "informix".equal (SYSBldSQLText,SYSBldSQLText)
create function "informix".equal (binaryvar,binaryvar)
create function "informix".notequal (binaryvar,binaryvar)
create function "informix".lessthanorequal (binaryvar,binaryvar)
create function "informix".greaterthanorequal (binaryvar,binaryvar)
create function "informix".equal (binary18,binary18)
create function "informix".notequal (binary18,binary18)
create function "informix".lessthanorequal (binary18,binary18)
create function "informix".greaterthanorequal (binary18,binary18)
We didn't create any of those in-house. And none of them show up in the database_name.sql file created by dbexport. So dbschema appears to be extracting the three 'equal' routines that have mode = "O", but not the two that have mode = "r".
------------------------------
Mark Collins
------------------------------
Original Message:
Sent: Thu July 14, 2022 11:36 AM
From: Andreas Legner
Subject: Question on sysprocedures
dbschema/dbexport would only produce mode 'O', 'D' and 'R' ones, so not those 'd' and 'r' internal ones.
------------------------------
Andreas Legner
------------------------------