HerbertKoelman / cpp-atmi

Application-to-Transaction Monitor Interface (ATMI) C++ library
http://herbertkoelman.github.com/cpp-atmi
Other
7 stars 0 forks source link

atmi::Field.setup(...) fails to initialize FML 16 IDs #44

Closed HerbertKoelman closed 11 years ago

HerbertKoelman commented 11 years ago

A FML Field can be of two types:

To use the routing feature of Tuxedo you need setup a FML32 field with an field ID that's in the range of value of the FML16 field IDs (101 - 8191) !!! Fname32 function will fail when using this kind of ID.

HerbertKoelman commented 11 years ago

To avoid this problem you can :+1:

...
TField<string> ASTRING ("STRING_FIELD"); // this works

TField<string> ASTRING (STRING_FIELD); // this fails