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 0594003D''' produces a WTO:
+BPXM047I BPXBATCH FAILED BECAUSE SPAWN (BPX1SPN) OF  809
 '/bin/bpxmtext FAILED WITH RETURN CODE
 00000081 REASON CODE 0594003D.

For whatever reason, it didn't feel like writing that to stderr.

Apologies for using the most confusing example possible, but it's also  the
most relevant.

sas


On Thu, Jun 23, 2022 at 10:55 AM Paul Gilmartin <
[email protected]> wrote:

> On Thu, 23 Jun 2022 14:49:41 +0000, 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/xxxxxxxx/xxxxxxxx/SPWNPGM1'?
> >
> BPXBATCH does't care about special characters.  It operates as documented.
>
>

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

Reply via email to