z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the DPISAMPL program

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

The DPISAMPL program accepts the following arguments:
?
Explains the usage.
-d n
Sets the debug at level n. The range is from 0 (for no messages) to 4 (for the most verbose). The default is 0. If a number greater than 4 is specified, tracing is set to level 4.
-trap gtype stype data
Generates a trap of the generic type gtype, of the specific type stype, and pass data as an additional value for the variable dpiSample.stype.0. The values for gtype are from 0 through 5. The values for stype indicate how data is interpreted. The following values are valid for stype:
1
number
2
octet string
3
object ID
4
empty (ignored)
5
internet address
6
counter
7
gauge
8
time ticks
9
display string
10
octet string
-std_traps
Generates or simulates the standard SNMP traps, which are the generic types 0 through 5. This includes a link down trap.
-ent_traps
Generates extended enterprise-specific traps, which are specific types 1 through 9, using the internal dpiSample variables.
ent_trapse
Generates extended enterprise-specific traps, which are specific types 11 through 19.
-all_traps
Generates std_traps, ent_traps, and ent_trapse.
-iucv
Uses an AF_IUCV socket to connect to the SNMP agent. This is the default.
Note: Although the IUCV API is no longer supported, use of the IUCV interaddress space communication mechanism is supported.
-u agent_userid
Specifies the user ID where the SNMP agent is running. The default is SNMPD.
-inet
Uses an AF_INET socket to connect to the SNMP agent.
agent_hostname
Specifies the host name of the system where an SNMP DPI-capable agent is running. The default is localhost.
Note: The localhost value is not defined by default on z/OS®. Ensure localhost is defined to the name server or in the host name resolution file as the local IP address if the agent_hostname parameter is not explicitly specified.
community_name
Specifies the community name, which is required to get the dpiPort. The default is public.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014