z/OS Communications Server: CMIP Services and Topology Agent Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


How an application program specifies CHOICE values

z/OS Communications Server: CMIP Services and Topology Agent Guide
SC27-3646-00

The following example shows how the ASN.1 syntax might define a CHOICE.
    A ::= CHOICE
          {
              x INTEGER,
              y OBJECT IDENTIFIER,
              z OCTET STRING
          }
The application program can choose to have field b be an INTEGER, an OBJECT IDENTIFIER, or an OCTET STRING. If the application program chooses for it to be an INTEGER, the following string should be specified:
    b (x 1234)

where the x is the resolution label.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014