Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
How application programs format data to be sent to CMIP services z/OS Communications Server: CMIP Services and Topology Agent Guide SC27-3646-00 |
|
When calling the MIBSendRequest or MIBSendResponse
functions, the application program provides a zero-terminated string
that includes the following:
For example, the following zero-terminated string could be passed
as the fourth parameter to the MIBSendRequest function.
When calling the MIBSendCmipRequest or MIBSendCmipResponse functions, the application program provides a zero-terminated string that includes only the values for all of the fields associated with the type listed in the ANY DEFINED BY table for the specified operation-value or error-value. For example, to send a GET request by the MIBSendCmipRequest function,
the second parameter of the MIBSendCmipRequest function should be
three (operation-value for GET) and the third parameter of MIBSendCmipRequest
function could be the following zero-terminated string:
Each value is made up of a <label> <value> pair. The <label> is the identifier that appears in ASN.1 NamedTypes. See clause 12.5 of ISO-8825 for the formal definition of a NamedType. In the following example, a, b, and c are possible labels. For
the field with data type D, the type name is used as a label. Using
the type name as a label is necessary only when the ASN.1 syntax was
defined without labels for all SET and SEQUENCE fields. If the type
name is used for a data type that has a label, the type name is rejected.
Labels can always be specified, but they are required only to resolve
ambiguity in the ASN.1 definition. Because it is difficult to know
when ambiguity exists, use the following rules when building strings
to send to CMIP services:
The <value> portion of the <label> <value> pair
can be specified in the following ways:
Any of the five following formats are recognized by CMIP services, but CMIP services always returns explicit value notation if there are no insurmountable errors encountered during the decoding of incoming strings. If errors are encountered, the hexadecimal BER format explained in Hexadecimal BER format is used. |
Copyright IBM Corporation 1990, 2014
|