Michael > I was wondering if there is an API or if it is possible to get this > information by SNMP...
This was a fascinating suggestion! It looks like a suggestion that someone steeped in the ways of UNIX might imagine but not one for someone used to the ways of z/OS and its predecessors. However you won't be sure that what you suggest is not possible unless you perform the necessary research. The first point you need to note is that the "N" in "SNMP" stands for "network" so at least when it started life, and through to today, the major use of SNMP is in order to manage resources related to the "network", specifically the IP- based network. However, long ago I used to manage a class with a focus on NetView for AIX. One of the related products was "Systems Monitor for AIX" and this was a general-purpose function which allowed any command to be presented to the UNIX, specifically AIX, system and the result to be returned, all cleverly supported by SNMP. So the way to check whether or not a software component supports SNMP is to scan the machine-readable manuals for "SNMP" and see what you find. If the component supports SNMP, you should find that an SNMP subagent is described which uses an API to the SNMP agent in order to "instantiate" variables in a "Management Information Base" (MIB). Actually the MIB covered by any one subagent is only a part of the full MIB, the MIB as would be revealed by the use of the snmpwalk command starting from OID 0.0 - all of which can make "MIB" a potentially ambiguous initialism. SNMP works by having an SNMP agent in an IP node which, according to the "client-server" model, is the "server". The SNMP agent is accessed by SNMP mangers which, according to the "client-server" model, makes it the "client". Note that I have assumed that the z/OS Communications Server (CS) SNMP agent is available. It may not be since it is one of the optional installation tasks for the IP component of z/OS CS. The SNMP manager logic needs to "understand" the MIB variables at a basic level so that it can present the data in the variables. However the SNMP manager logic may "understand" the MIB variables well enough to be able to present them in a user-friendly manner which boosts the productivity of the user of the SNMP manager. The example I always use here comes from one of the products covered by my class which was an SNMP manager program used for managing a hub, most interestingly, the "back-plate" of a hub, from "far away". For example, the switches, pictorially represented, could be switched up or down with the aid of a mouse! Thus, in addition to descriptions of how to install the SNMP subagent, there will be descriptions of the supported MIB and there should be minimally, for the benefit of the SNMP manager, a text version of the description of the MIB which can be "loaded" by the SNMP manager program. All this will make a significant impact on the documentation of the software component so that you couldn't possibly miss it. Chris Mason On Thu, 19 May 2011 15:41:49 +0200, Michael Knigge <michael.knigge@SET- SOFTWARE.DE> wrote: >All, > >using SDSF I can see the progress of a print-job - I can see the total >number of records of the print-file and I can see the number of already >"printed" records. > >Does anyone of you know how to get this infomation (ASM, COBOL, C, ...)? >I was wondering if there is an API or if it is possible to get this >information by SNMP... > > >Thank you! > > >Bye, >Michael ---------------------------------------------------------------------- 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

