OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
3-143
EDI-C-EDI-EXTENSION
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 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.
EDI-C-EDI-EXTENSION
This class of object is provided for future extensions to the EDI messaging defined in 
this document. 
Table 3-103
 describes the attribute types for this class and the syntax, length, and 
number of values for each type.
 Some attribute types have additional value characteristics, as shown in Table 3-104
.
Table 3-103. EDI-C-EDI-EXTENSION Attributes—General Characteristics
Attribute Type Value Syntax
Value 
Length
Number of
Values
EDI-T-CRITICALITY OM-S-BOOLEAN - - 1
EDI-T-EXTENSION-TYPE OM-S-OBJECT-ID-STRING 2-n 1
EDI-T-EXTENSION-VALUE OM-S-ENCODING-STRING
or
OM-S-ONFILE-STRING
2-n 0-1
OM-T-CLASS OM-S-OBJECT-ID-STRING 7 1
Table 3-104. EDI-C-EDI-EXTENSION Attributes—Additional Characteristics
Attribute Type Value Characteristics
EDI-T-CRITICALITY Initial Value: OM-FALSE
OM-T-CLASS Max. Value Length: ZGPI-EDI-CLASS-OBJ-ID-LEN










