I believe that BPXBATCH does not support quoting the path; if true that would 
explain the not found return code. What happens with PARM='PGM 
/u/xxxxxxxx/xxxxxxxx/SPWNPGM1'?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Kenneth J. Kripke [[email protected]]
Sent: Wednesday, June 22, 2022 2:51 PM
To: [email protected]
Subject: BPXBATCH and PGM invocation

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'''

//STDIN  DD  *

/*

//STDOUT DD SYSOUT=*

Is there some other utility that can accomplish what I am attempting to do?






Kenneth J. Kripke



[email protected] <mailto:[email protected]>




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

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

Reply via email to