in the snippet the <command> is hardcoded, should not be that difficult to pass it as a parameter
cheers enrico When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser, so that I am sure that the information requested can be reached with a very small effort
You got the best way to address console from Enrico, you do have some other ways of doing it through the ISFSLASH special variable and getting the output into the ISF stem variables. And more over I believe you can't use Outtrap since it works for execs running under TSO/E address space whereas your console command should address the console as suggested. Apologize if I'm wrong.