Sample JCL procedure for starting OSNMPD from MVS™

Update cataloged procedure OSNMPD by copying the sample in SEZAINST(OSNMPDPR) to your system or recognized PROCLIB. Change the data set names as required to suit your local configuration. The OSNMPD address space requires access to the z/OS® XL C/C++ run-time library data sets during execution.

You can pass parameters to the agent on the PARMS= keyword on the EXEC statement of the OSNMPD cataloged procedure. See z/OS Communications Server: IP Configuration Reference for the command syntax and parameter information. You can specify any agent parameters that you want, as shown in the following example:

//OSNMPD EXEC PGM=EZASNMPD,REGION=4096K,TIME=NOLIMIT,
// PARM='-c abc -d 255 -p 761'

In this example, the agent will use port 761 to accept requests, community name abc will be added to the list of community names supported by the agent, and all agent traces will be activated. For more information on tracing, see the z/OS Communications Server: IP Diagnosis Guide.