On Thu, 27 Aug 2026 09:46:14 -0500, Kirk Wolf wrote:
>Hmm, what happens if another user does the following before your run your job
>and before /tmp/cmd.txt is created?
>
I habitually use:
export TMPDIR=/tmp/$LOGNAME; ( umask 022; mkdir $TMPDIR )
>> cd /tmp
>> echo "rm -rf /" > cmd.txt
>> chmod 644 cmd.txt
>
>PS> BPXBATCH sucks.
>
Yes. Especially the STDIN restriction.
RFE? But that would make bundled BPXABATCH
compete with priced AOPBATCHH (and ISV COZBATCH.)
>On Wed, Aug 26, 2026, at 6:38 PM, Dana Mitchell wrote:
>>
>> If you put the commands in a unix file, you can feed them into bpxbatch/su
>> via STDIN:
>>
>> //*-----------------------------------------------------------------*/
>> //* Copy command to uss file
>> //*-----------------------------------------------------------------*/
>> //OCOPY1 EXEC PGM=IKJEFT01
IEBGENER would be simpler.
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN