× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Phil Hall solved the problem so, for the record -thanks Phil and James- and
the archive:

H dftactgrp( *no ) bnddir( 'QC2LE' )

D
D getsnmp         PR            10I 0 ExtProc('snmpGet')
D  pdu_ptr                        *   value
D  host_ptr                       *   value options(*string)
D  timeout                      10I 0 value
D  comm_ptr                       *   value options(*string)
D  comm_len                     10I 0 value

D varBind         DS
D  next                           *   inz(*NULL)
D  pOid                           *   inz(%addr(oid))
D  asnType                       1a
D  valLen                       10i 0 inz(50)
D  valPtr                         *   inz(%addr(value))

D snmppdu         DS
D  pduType                       1a
D  errSts                       10i 0
D  errIdx                       10i 0
D  pVarBind                       *   inz(%addr(varBind))

D x               S             10i 0
D value           S             50a
D oid             S             50a
inz(xf14bf34bf64bf14bf24bf14bf14bf14bf000' )
D host            S             10a   inz('10.11.20.1')
D cmty            S              6a   inz(x'7075626C6963')

c                   eval      x = getsnmp(%addr(snmppdu) :
c                                         %addr(host):
c                                         5:
c                                         %addr(cmty):
c                                         6)

c                   eval      x = x

c                   return



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.