Re: How to stack large instream data inside BPXBATCH

2021-10-19 Thread Billy Ashton
Gil, there are some really good suggestions here, and I will see about how I can do them. I think I will have to go the multiple member route, but I will use OCOPY instead of REPRO, and look to STDENV for the variables. I think someone tried to get COZBATCH a while ago, and that was vetoed by m

Re: How to stack large instream data inside BPXBATCH

2021-10-19 Thread Paul Gilmartin
On Mon, 18 Oct 2021 15:17:22 -0400, Billy Ashton wrote: >Hi again...is there a way to run a single BPXBATCH JCL member that >copies some instream data into temp files and then run a command that >uses those files? > How about using echo or printf to build your files, line-by-line. E.g.: # //STDP

Re: How to stack large instream data inside BPXBATCH

2021-10-19 Thread Paul Gilmartin
On Tue, 19 Oct 2021 02:57:22 -0500, Jantje. wrote: >On Mon, 18 Oct 2021 15:17:22 -0400, Billy Ashton wrote: > >>Hi again...is there a way to run a single BPXBATCH JCL member that > >Can I suggest you move to COZBATCH? So much simpler to use and far better >functionality IMHO. > A good idea prov

Re: How to stack large instream data inside BPXBATCH

2021-10-19 Thread Jantje.
On Mon, 18 Oct 2021 15:17:22 -0400, Billy Ashton wrote: >Hi again...is there a way to run a single BPXBATCH JCL member that Can I suggest you move to COZBATCH? So much simpler to use and far better functionality IMHO. Cheers, Jantje. --

Re: How to stack large instream data inside BPXBATCH

2021-10-18 Thread Paul Gilmartin
On Mon, 18 Oct 2021 15:17:22 -0400, Billy Ashton wrote: >Hi again...is there a way to run a single BPXBATCH JCL member that >copies some instream data into temp files and then run a command that >uses those files? > What are your requirements in detail? Where do your data originate? Are you all

How to stack large instream data inside BPXBATCH

2021-10-18 Thread Billy Ashton
Hi again...is there a way to run a single BPXBATCH JCL member that copies some instream data into temp files and then run a command that uses those files? For example, I tried this, but got no output: //SFTP      EXEC PGM=BPXBATCH //STDOUT    DD SYSOUT=* //STDERR    DD SYSOUT=* //SYSOUT    DD S