gsg wrote:
Would you be able to share your JCL?
Have you read the books on the zSeries API? I'm just using a slightly
modified version of IBM's sample hwmcamvs.exe.
When you unpax hwmcamvs.tar, you get the source code from which
hwmcamvs.exe was built. It has a hard-coded SNMP community name. So, I
copied the source, changed the community name on line #4 to match what
we specify in our HMC.
#define COMMUNITY "your-name"
I then compiled my own hwmcaphx.exe using the following:
c++ -c -W c,DLL -I /V1R4M0/usr/include/ hwmcaphx.c
c++ -o hwmcaphx.exe hwmcaphx.o HWMCAAPI.x
The hwmcamvs and/or hwmcaphx commands can be invoked from any OMVS
prompt, SSH, telnet or from a shell script or REXX exec running under an
OMVS environment. And, as I indicated, you can launch a script or REXX
exec that invokes hwmcaxxx in batch using BPXBATCH.
Ed Jaffe
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html