write STDOUT,STDERR to SYSOUT on BPXBATCH ?

Discussion of the Co:Z Toolkit Dataset Pipes utilities
Post Reply
Joe
Posts: 4
Joined: Thu Jul 13, 2006 2:48 am
Location: Germany

write STDOUT,STDERR to SYSOUT on BPXBATCH ?

Post 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
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post 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.
john.mckown
Posts: 48
Joined: Tue Jun 12, 2007 2:46 pm

Post 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.
Post Reply