RP/TUX 7.1, TUX 8.0 - tptypes() returns TPEINVAL in _tminitbuf for user-defined buffer types (Doc ID 771140.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 7.1, 8.0
Information in this document applies to any platform

Goal

User-defined buffer-type: The user wants to use a user-defined buffer-type that includes a subtype. It is documented in
buffer(3c) that in the function _tminitbuf()  "If a single switch entry is used to manipulate many subtypes, then
the writer of _tminitbuf() can use tptypes() to determine the subtype."

When using tptypes() inside _tminitbuf(), tptypes systematically returns TPEINVAL.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms