Re: BPXBATCH and PGM invocation

2022-06-23 Thread Seymour J Metz
@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Thursday, June 23, 2022 3:19 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: BPXBATCH and PGM invocation On Thu, 23 Jun 2022 18:04:02 +, Seymour J Metz wrote: >Why did you put the reason code 05940

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Steve Smith
The first example run worked perfectly; it was meant to print the explanation for one error code, and it did. It did NOT experience that error. I used that particular program because it would cause maximum confusion. JK, it was just a convenient program that produced a convenient amount of

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Clifford McNeill
: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Thursday, June 23, 2022 12:30 PM To:IBM-MAIN@LISTSERV.UA.EDU Subject: Re: BPXBATCH and PGM invocation On Thu, 23 Jun 2022 11:36:55 -0400, Steve Smith wrote

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Paul Gilmartin
On Thu, 23 Jun 2022 18:04:02 +, Seymour J Metz wrote: >Why did you put the reason code 0594003D in the command string instead of >SPWNPGM1? > As I Read The Fine Manual: , I see: To determine the

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Seymour J Metz
] Sent: Thursday, June 23, 2022 11:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: BPXBATCH and PGM invocation I just ran a test. PARM='PGM /bin/bpxmtext 0594003D' works. stdout has: BPXFVLKP 04/27/18 JRDirNotFound: A directory in the pathname was not found Action: One of the directories

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Seymour J Metz
...@listserv.ua.edu] Sent: Thursday, June 23, 2022 12:30 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: BPXBATCH and PGM invocation On Thu, 23 Jun 2022 11:36:55 -0400, Steve Smith wrote: >I just ran a test. PARM='PGM /bin/bpxmtext 0594003D' works. stdout has: >BPXFVLKP 04/27/18 > >JRDirNotFound:

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Seymour J Metz
f of Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Thursday, June 23, 2022 10:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: BPXBATCH and PGM invocation On Thu, 23 Jun 2022 14:49:41 +, Seymour J Metz wrote: >I believe that BPXBATCH does not support quotin

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Paul Gilmartin
On Thu, 23 Jun 2022 11:36:55 -0400, Steve Smith wrote: >I just ran a test. PARM='PGM /bin/bpxmtext 0594003D' works. stdout has: >BPXFVLKP 04/27/18 > >JRDirNotFound: A directory in the pathname was not found > I'm slightly surprisd. The OP's command was: //JSTEP EXEC

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Steve Smith
I just ran a test. PARM='PGM /bin/bpxmtext 0594003D' works. stdout has: BPXFVLKP 04/27/18 JRDirNotFound: A directory in the pathname was not found Action: One of the directories specified was not found. Verify that the name specified is spelled correctly. And PARM='PGM ''/bin/bpxmtext

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Paul Gilmartin
On Thu, 23 Jun 2022 14:49:41 +, Seymour J Metz wrote: >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///SPWNPGM1'? > BPXBATCH does't care about special characters. It

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Seymour J Metz
Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Kenneth J. Kripke [k.kri...@comcast.net] Sent: Wednesday, June 22, 2022 2:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: BPXBATCH and PGM invocation I am trying to execute a unix stored program using BPXBATCH from MVS but it fails continuously

Re: BPXBATCH and PGM invocation

2022-06-23 Thread Paul Gilmartin
On Thu, 23 Jun 2022 09:45:40 -0400, Kenneth J. Kripke wrote: >Thank you to all that had responded. I was able to accomplish what I wanted >to get done using BPXWUNIX within a REXX. > Certainly a more powerful alternative. You can issue several commands and process status and output from each.

BPXBATCH and PGM invocation

2022-06-23 Thread Kenneth J. Kripke
Thank you to all that had responded. I was able to accomplish what I wanted to get done using BPXWUNIX within a REXX. The purpose of this exercise is to test Automation rules to bring down various OMVS processes during a system shutdown for an IPL. Kenneth J. Kripke

Re: BPXBATCH and PGM invocation (and DSFS?)

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 16:20:31 -0400, Tony Harminc wrote: >> > >> >Why not copy the program into a PDSE, and then use // EXEC >> >PGM=SPWNPGM1 with the appropriate STEPLIB? >> > >> Everything looks like a nail. > >Not sure if you're suggesting that *I* am seeing the OP's problem as a >nail (and so

Re: BPXBATCH and PGM invocation

2022-06-22 Thread Tony Harminc
On Wed, 22 Jun 2022 at 16:14, Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > > On Wed, 22 Jun 2022 16:08:31 -0400, Tony Harminc wrote: > > > >Why not copy the program into a PDSE, and then use // EXEC > >PGM=SPWNPGM1 with the appropriate STEPLIB? > > > Everything looks

Re: BPXBATCH and PGM invocation

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 16:08:31 -0400, Tony Harminc wrote: > >Why not copy the program into a PDSE, and then use // EXEC >PGM=SPWNPGM1 with the appropriate STEPLIB? > Everything looks like a nail. -- gil -- For IBM-MAIN subscribe

Re: BPXBATCH and PGM invocation

2022-06-22 Thread Tony Harminc
On Wed, 22 Jun 2022 at 14:52, 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///SPWNPGM1' FAILED > > WITH RETURN CODE 0081 REASON

Re: BPXBATCH and PGM invocation

2022-06-22 Thread Paul Gilmartin
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///SPWNPGM1' FAILED > >WITH RETURN CODE 0081 REASON CODE

BPXBATCH and PGM invocation

2022-06-22 Thread Kenneth J. Kripke
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///SPWNPGM1' FAILED WITH RETURN CODE 0081 REASON CODE 0594003D The actual directory paths for this email were x'ed out