Page 1 of 1

write STDOUT,STDERR to SYSOUT on BPXBATCH ?

Posted: Sat Jul 15, 2006 8:19 am
by Joe
hello,
running Dataset Pipes on z/OS Batch the output from STDOUT and STDERR is written to a unix HFS file. Can Dataset Pipes write it to JES SYSOUT file?.
If it isn't supported to write directly to SYSOUT, is it possible to use a pipe to copy the STDOUT from the unix HFS to the allocated SYSOUT DD ?
Thanking you in anticipation,
Best regards
Josef

Posted: Mon Jul 24, 2006 12:18 pm
by dovetail
You can run the dataset pipes commands under z/OS batch using BPXBATCH

If have the PTFs for BPXBATCH APAR OA11699, then STDOUT and STDERR can be redirected to SYSOUT datasets. See the APAR documentation for more details.

Posted: Fri Jan 25, 2008 4:24 pm
by john.mckown
In the past, instead of running BPXBATCH, I have ran IKJEFT01 (TSO in batch) and used the OSHELL command. The OSHELL invokes the UNIX command, with STDOUT and STDERR coming back to SYSOUT datasets.