Jim Mulder mentioned the TSOLIB command (which I'd forgotten about, although I depend on it continuously), and it should come close to solving most of the issues so far discussed.
As for REXX, it's extendable, if you're so inclined. I'm passionately ambivalent about REXX, so, not inclined myself. -- sas ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN