OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
3-8
MH-C-ALGORITHM-AND-RESULT
When this attributes has the syntax OM-S-ONFILE-STRING, the GPI library stores
the value in a file, and the value retains the characteristics of its primary syntax.
For outbound messages, the client program should specify OM-S-ONFILE-STRING
as the syntax of an attribute when the memory storage space might be insufficient to
accommodate the value of the attribute. The client can specify this syntax for
specific strings when the accumulated length of the strings might overflow the total
string area specified in the max-table-data parameter of the GPI_INITIALIZE_
procedure call.
For inbound messages, the Gateway Interface Process automatically specifies OM-
S-ONFILE-STRING for those strings that exceed the value in the max-table-data
parameter of the GPI_INITIALIZE_ call or that exceed the maximum length
specified in the max-in-memory-string-len parameter of the
GPI_MT_START_TRANSFER_IN_ call.
Attributes that have the syntax the OM-S-ONFILE-STRING are treated as long
strings, regardless of their actual length: that is, they are treated as if they were
longer than the specification of the max-string-len parameter of GPI_INITIALIZE_.
Thus, you can use only the procedure calls GPI_OM_READ_ and GPI_OM-
WRITE_ to read and write the values of strings that have the syntax OM-S-
ONFILE-STRING.