On Wed, 30 Oct 2019 09:36:59 -0400, Don Poitras  wrote:
>....
>//*  The idea here is that I'd like to see the commands printed
>//*  along with the output. set -x will do that (while printing
>//*  a "+" in front of the commands, but that's ok), but sends
>//*  it's debugging output to stderr. By setting stdout and
>//*  stderr to the same file, the output is interleaved and the
>//*  final step prints the result.
>//*
Nowadays (for several releases) BPXBATCH can use SYSOUT for STDOUT
and STDERR, so the COPY2 step is unnecessary.

STDOUT and STDERR can be merged with the shell command:
    exec 2>&1

BPBATCH still sucks.  IBM is unlikely to enhance it because it competes
with the separately priced AOPBATCH.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to