pears.IQXNetAllowed

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

CREATE FUNCTION "pears"."IQXNetAllowed"( 
  /* Application Maintained Function / Procedure - DO NOT EDIT*/
  IN "ProcName" CHAR(100),IN "AllowedProcs" long VARCHAR ) 
RETURNS tinyint
BEGIN
  DECLARE "i" INTEGER;
  DECLARE "s" CHAR(100);
  SET "i" = 1;
  loop
    SET "s" = "isnull"("trim"("getline"("AllowedProcs","i")),'');
    IF "s" = '' THEN
      RETURN 0
    END IF;
    IF "ProcName" LIKE "s" THEN
      RETURN 1
    END IF;
    SET "i" = "i"+1
  END loop
END
  • database/functions/pears_iqxnetallowed.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1