OSI/AS and OSI/TS Supplement (Includes RFC-1006 Support)

General OSI/AS and OSI/TS Manual Changes and Corrections
107751 Tandem Computers Incorporated 8–17
How Applications Use This Feature:
Input of Expanded Object IDs: When an application needs to place an expanded object
ID in part of an existing ZAPSDDL structure, it must first compress the expanded
object ID by calling the new APS procedure, APS_OBJID_COMPRESS_. The
compressed object ID, which occupies the same amount of space as the ZAPS-DDL-
OBJ-ID structure, can now be copied to the appropriate place in the ZAPSDDL
structure. If the expanded object ID is too large to be compressed, an error is returned
and the expanded object ID cannot be used by OSI/AS.
The application can use compressed object IDs or regular object IDs as it sees fit. A
given ZAPSDDL structure containing multiple object IDs can include both compressed
object IDs and regular object IDs.
For example, object ID A is an expanded object ID (ZAPS-DDL-OBJ-ID-32) describing
the ACSE application context name in a connect request. The application calls
APS_OBJID_COMPRESS_ (A,B) where B is the output compressed object ID structure
(ZAPS-DDL-OBJ-ID). The ACSE application context name structure, (ZAPS-DDL-
APPL-CNTXT) is defined as an object ID which in turn takes on the value of B.
Output of Expanded Object IDs: The APS_ASSOC_GETPARAM_ procedure returns
many structures containing object IDs. The application chooses whether or not all
object IDs are to be returned in compressed or regular form through a new parameter
to the APS_ASSOC_ATTACH_ and APS_ASSOC_CONNECTREQ_ procedures.
If the application has specified that it will only accept regular object IDs and an object
ID is received in a connect indication or connect confirm that cannot be represented as
a regular object ID, then OSI/AS generates a service provider abort.
If required, the application can call the APS_OBJID_EXPAND_ procedure to convert a
returned compressed object ID into the expanded object ID format.
APS Enhancements:
New ZAPSDDL definition for ZAPS-DDL-OBJ-ID-32: The ZAPS-DDL-OBJ-ID-32
structure is an ASN.1 object identifier. It defines an object ID as a set of 24
doubleword integers. It is used as the input parameter for the
APS_OBJID_COMPRESS_ procedure and the output parameter for the
APS_OBJID_EXPAND_ procedure.
def ZAPS-DDL-OBJ-ID-32.
02 ZNUM-ELEMENTS TYPE ZAPS-DDL-INT1.
02 ZOBJ-ID-32 TYPE ZAPS-DDL-INT2 OCCURS 24 TIMES.
end
ZNUM-ELEMENTS
is the number of elements in the array of object identifiers that follows this field.
The maximum number allowed is 16.