Look at WAKEUP.  It can trap on events, like messages from DIRMAINT, or 
the arrival of a RDR file.  It can also be set to time out if none of the 
monitored events occurs in whatever you consider to be a reasonable time. 
When it exits, it stacks information on why.
--Mike



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi:

Although I've done a bit of maintenance on our company's VM systems, I'm
a raw, brand spanking new VM script writer, so forgive me if I'm missing
the obvious.  I'm sure I'll have many d'oh! moments.

I'd like to write some code to fetch dirmaint's disk allocation maps
(dirmaint dirmap and possibly dirmaint send extent control) and perform
some analysis on it.  Specifically asking questions like how much free
dasd we have in various volume groups, how fragmented our dasd
allocation is, and the like.

My question is how may I, in a rexx exec, know when the results of a
dirmaint command like dirmap are complete, if it failed, when any result
is available in my reader, and what reader file# to receive?

Thanks, and apologies for the beginner question.

- -- Pat

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIWBuiNObCqA8uBswRAk9GAJ9t3mEGO2mRDmi6cIVY8+r3WKM+rACfWEcm
GkFx89jcLP5bm0hTqfowZyU=
=+cxB
-----END PGP SIGNATURE-----

Reply via email to