Search Results unsigned_word




Overview

CZ_FCE_COMPILE_UTILS is an Oracle E-Business Suite utility package owned by the APPS schema and classified as a general-purpose API (OTHER). In the context of EBS 12.1.1 and 12.2.2, it serves as a low-level helper library for numeric range validation, binary type conversion, and execution-timing instrumentation. The package is not tied to a specific Oracle application module such as Order Management or Payables; instead, it provides reusable primitives consumed by other PL/SQL packages in the same custom code family. Its header declares AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the invoking user rather than the definer, which is significant for a utility package that may be invoked from many calling contexts. The presence of byte, word, integer, and long boundary constants indicates that the package was designed for validation and conversion work involving Java-style or C-style primitive integer widths, an unusual concern within standard EBS development but relevant where CZ FCE code interfaces with external systems or performs byte-level data manipulation. The package also carries timing and logging helpers, suggesting it doubles as a lightweight diagnostic toolkit.

Key Procedures and Functions

The documented interface exposes twenty-eight procedures and functions. The validation group is the most relevant to the searched term: ASSERT_INTEGER, ASSERT_UNSIGNED_BYTE, ASSERT_BYTE, ASSERT_UNSIGNED_WORD, ASSERT_WORD, ASSERT_ICONST, and ASSERT_LONG each test whether an input value falls within a declared numeric boundary and return a BOOLEAN result. The constants declared at the top of the package — const_min_integer (-2147483648), const_max_integer (2147483647), and the corresponding byte, word, unsigned, and long limits — define the ranges these assertions enforce. ASSERT_INTEGER specifically validates a NUMBER against the signed 32-bit integer range.

The conversion group mirrors the assertions: UNSIGNED_BYTE, BYTE, UNSIGNED_WORD, WORD, INTEGER_RAW, LONG_RAW, FLOAT_RAW, and DOUBLE_RAW translate numeric values into RAW representations, supporting binary serialization and byte-order work.

The timing and diagnostics group comprises INIT_TIMING, START_TIMING, END_TIMING, SPOOL_TIMING_DATA, and REPORT_WARNING, which together allow callers to instrument code paths, capture elapsed time, and emit structured warning output. The package also declares a user-defined exception, cz_cpl_internal_float, used to signal floating-point edge conditions during conversion.

Tables Accessed

The package references CZ_DB_LOGS, a custom logging table whose URGENCY column drives three constants: CONST_URGENCY_ERROR (0), CONST_URGENCY_WARNING (1), and CONST_URGENCY_INFORMATION (2). REPORT_WARNING and the timing procedures write diagnostic entries to this table. The remaining referenced objects — DBMS_UTILITY, PLITBLM, and UTL_RAW — are database-supplied packages resolved through APPS synonyms; DBMS_UTILITY and UTL_RAW support timing and RAW conversion, while PLITBLM relates to PL/SQL table operations.

Usage Notes

CZ_FCE_COMPILE_UTILS is typically invoked from other PL/SQL packages rather than directly from Oracle Forms or concurrent programs. The ETRM metadata records that three other packages reference it. Because the header dates to 2008 and the package is custom, it is most likely called from CZ-prefixed custom code performing validation, binary conversion, or diagnostic timing. Developers searching for assert_integer should note that it is a range-check helper returning BOOLEAN, not a data-integrity constraint; it must be called explicitly and its result handled by the caller.