On Wed, 22 Jun 2022 14:51:40 -0400, Kenneth J. Kripke wrote:

>I am trying to execute a unix stored program using BPXBATCH from MVS but it
>fails continuously with
>
>BPXM047I BPXBATCH FAILED BECAUSE SPAWN (BPXISFN) OF
>'u/xxxxxxxx/xxxxxxxx/SPWNPGM1' FAILED
>
>WITH RETURN CODE 00000081 REASON CODE 0594003D
>
>The actual directory paths for this email were x'ed out for confidentiality
>reasons.
>
>I can execute the PGM successfully using ISHELL in TSO.
>
>JCL of the job follows:
>
>//  JOB
>
>//JSTEP  EXEC PGM=BPXBATCH,PARM='PGM ''/u/xxxxxxxx/xxxxxxxx/SPWNPGM1'''
> 
Too many apostrophes for PGM.  Might be OK for SH.

>//STDIN  DD  *
>
>/*
BPXBATCH loathes  instream STDIIN.


>Is there some other utility that can accomplish what I am attempting to do?
> 
Perhaps BPXWUNIX.  Requires Rexx.
<https://www.ibm.com/docs/en/zos/2.5.0?topic=functions-bpxwunix>.

-- 
gil

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

Reply via email to