> > That would seem to be a good argument for supplying a DIAGA0 MODULE > > somewhere like the default MAINT 190...8-). RC=0 if ESM installed and > > enabled, RC=28 if not installed/enabled. > > > > Requirement? > > Yes, but are you sure that's what you want? Why not a CP QUERY ESM? It's > just a yes or no question; RC=0 means yes, non-zero means no. The text > returned by the QUERY is irrelevant. With a sufficiently advanced QUERY, > a vendor-dependent string could be returned. E.g. the name of the ESM (as > defined by the vendor) along with level information.
A draft requirement (in WAVV format) is posted for comment at http://www.sinenomine.net/node/610 The summary version is one new CP command, QUERY ESM. Class G for the basic present and active query (rc=0 if both present AND active, rc=28 if one or the other is NOT true), and a EXTENDED operand for privileged users (QUERY ESM EXTENDED) that produced status information on the ESM (active/inactive, vendor ID string, anything else Chuckie wants to tell us about the ESM interface, like who's connected to *RPI, local or distributed IUCV, etc). Word and PDF versions are available; comments welcome.
