> >Can I send MVS modify command against a REXX that is running as an STC?
I did something very similar with a Cobol program. I guess that you can do the same in Rexx (set-up of the environment may be a little harder, though). I've written an assembler program that set's up the plumbing for handling the start, modify and stop MVS commands and then attaches a subtask that is running the Cobol program. Communication between the assembler and the Cobol program, in my case, is a simple structure in the assembler programs' working storage, mapped in the Cobol LINKAGE SECTION. When a modify command comes in, the assembler code handles it, analyzes the meaning of it and puts the corresponding values in the communication structure. It then POSTs an ECB on which the Cobol program (through a call to an other little assembler sub-routine) is waiting. Cobol program picks up the parameters from its linkage and processes. In the main assembler program I have also a STIMER that pops every-so-often and writes out a WTO to say it is still alive. This prevents the process from abending for inactivity time-out when it is running as a simple job (handy during testing...) Cheers, Jantje. ---------------------------------------------------------------------- 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

