Ulrich, how about this: 1) create a simple two line rexx in data set A.B.EXEC: /* rexx */ "execio * diskr cmdin (finis"
2) run your batch tmp with DD=CMDIN pointing to the VB data set and the following line in SYSTSIN: EX 'A.B.EXEC' EX The rexx will read all lines from the data set and put them onto the stack. The TMP will see the data on the stack after the REXX ends and will execute the stacked lines one by one. The rexx may of course also be a PDS member instead of only a plain PS data set. Peter Hunkeler CREDIT SUISSE ---------------------------------------------------------------------- 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