Let's face facts. This thread is all klunky hackery because BPXBATCH is horrible. It's not that hard to create a utility that just takes normal Unix shell input in "STDIN DD *" and runs whatever command you want with normal Unix line input processing. All of this nonsense to get around that by using long parms, STDPARM, and requiring unnatural syntax to run shell commands in BPXBATCH via "/bin/sh -c" is just avoiding the real problem: BPXBATCH sucks. IMO, this utility is largely responsible for the poor uptake of UNIX in z/OS.
PS> Got digits in 73-80? It's SMOP to ignore if present. We have always done it that way. Kirk Wolf Dovetailed Technologies https://coztoolkit.com //UNIX EXEC PGM=COZBATCH //STDIN DD * # this is just input to the shell python mycode.py \ arg1 arg2 \ arg3 // On Fri, May 23, 2025, at 8:16 AM, Clement Clarke wrote: > Would my PARMCNTL help? > > From CBT > //*+File 839: Long Parameters in EXEC - JCL symbolic substitution * DOC > FILE > > ..... ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN