On Tue, 22 Apr 2025 08:05:45 -0400, Mark Regan wrote:
>I'm using the OMVS DIG command in a BPXBATCH job, and I would like to
>combine the STDOUT DD and the STDERR DD into one SYSOUT DD, or both into a
>single file. I need to keep the resulting output in the order it executes,
>like when you do it from the OMVS command line. Is that double? If so, how?
>
In a later ply you say "appear below." That seems to contradict "combine".
For combine, how about:
EXEC PGM=BP BATCH,PARM='SH DIG 2>&1'
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN