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


How an application program sends an INTEGER value to CMIP services

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

An application program can send an INTEGER value to CMIP services in any of the following forms:

Read syntax diagramSkip visual syntax diagram
>>-+-------+--+-+-----+--digits--+-----------------------------><
   '-label-'  | +- + -+          |   
              | '- - -'          |   
              |              (1) |   
              +-named number-----+   
              |       (2)        |   
              +-value------------+   
              |          (2)     |   
              +-variable---------+   
              '-<--hex value-->--'   

Notes:
  1. The ASN.1 compiler recently introduced support for named numbers, and this support is expected to be added to the API in the very near future. When it is, the API will output named integer values by giving the value identifier.
  2. Values and variables specified in this position must resolve to an INTEGER value.
The following example shows how the ASN.1 syntax might define an INTEGER value.
X ::= INTEGER
SlowModemSpeed ::= INTEGER {
        slowest  (300),
        slower   (1200),
        slow     (2400)
        }
 
A value for X would be:
      123
Values for SlowModemSpeed would be:
      300
      2400

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014