Miklos Szigetvari asked: > How can I get back the result of a TSO/REXX command if I call > under IKJTSOEV /IKJEFTSR ? (instead of SYSTSPRT )
Well, you can preallocate (batch or DYNALLOC) SYSTSPRT to somewhere appropriate before you invoke IKJTSOEV. But if you want to get your output back on the fly, i.e. before you terminate the TSOEV environment, then it's not so easy. One quite elegant approach is to use a GPSAM-like subsystem to process your SYSTSPRT. Another, less-elegant-but-it-works-fine way is to hook the DCB put routine pointer once TSOEV has opened SYSTSPRT. You have to watch out for a number of things, system integrity not the least of them, but I've done it with good success. I believe this is known as "not a programming interface". :-) Tony H. ---------------------------------------------------------------------- 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

