Re: passing parameter data in BPXBATCH

2009-09-18 Thread Sven Siebert
| You might want to try our free COZBATCH utility, which is an alternative to | BPXBATCH. | See: http://dovetail.com/products/cozbatch.html | Some features that apply to your question: | - It runs in the same address space, so you C program will be able to read | DDs. Unlike BPXBATSL, you can

passing parameter data in BPXBATCH

2009-09-17 Thread Sven Siebert
Dear all, I try to call a C program via a JCL script. I get stuck in passing parameter data to the C program search_modules. It is clear that I can pass these parameters to BPXBATCH-PARM , but the limitation is the length of 100 characters of the PARM parameter. As I intend to pass more than one

Antwort: passing parameter data in BPXBATCH

2009-09-17 Thread Michael Klaeschen
@BAMA.UA.EDU An IBM-MAIN@BAMA.UA.EDU Kopie Thema passing parameter data in BPXBATCH Dear all, I try to call a C program via a JCL script. I get stuck in passing parameter data to the C program search_modules. It is clear that I can pass these parameters to BPXBATCH-PARM , but the limitation

Re: passing parameter data in BPXBATCH

2009-09-17 Thread Andy Robertson
Have you tried running BPXBATCH under TSO in batch??? You could create a command of any length using the + continuation character. If you want to feed in data via JCL you must create programs to read the PARM and write it out as a file, then concatenate several of these outputs together to build

Re: Antwort: passing parameter data in BPXBATCH

2009-09-17 Thread Bernd Oppolzer
fopen (testlib, r) -- looks for file userid.testlib - TSO logic fopen (\'testlib\', r) -- looks for file testlib - MVS dataset fopen (dd:testlib, r) -- looks for dd-name there are additional filename conventions for HFS files This is how C (or LE) runtime works. kind regards Bernd Michael

Re: passing parameter data in BPXBATCH

2009-09-17 Thread Hunkeler Peter (KIUP 4)
Use BPXBATSL instead of BPXBATCH. It will do a local spawn() which means your program will run as a subtask of BPXBATSL. It will have access to all the DDs in the step. -- Peter Hunkeler CREDIT SUISSE -- For IBM-MAIN subscribe /

AW: Antwort: passing parameter data in BPXBATCH

2009-09-17 Thread Siebert, Sven, Dr. (EXTERN: DOSBER)
An: IBM-MAIN@BAMA.UA.EDU Betreff: Antwort: passing parameter data in BPXBATCH Sven, have you tried to open the file with another syntax, like fopen(DD:TESTLIB,r)? Cheers Michael Sven Siebert extern.sven.sieb...@volkswagen.de Gesendet von: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU

AW: passing parameter data in BPXBATCH

2009-09-17 Thread Siebert, Sven, Dr. (EXTERN: DOSBER)
An: IBM-MAIN@BAMA.UA.EDU Betreff: Re: passing parameter data in BPXBATCH Have you tried running BPXBATCH under TSO in batch??? You could create a command of any length using the + continuation character. If you want to feed in data via JCL you must create programs to read the PARM and write

AW: passing parameter data in BPXBATCH

2009-09-17 Thread Siebert, Sven, Dr. (EXTERN: DOSBER)
That's it !!! :) Thanks for your help, Sven Siebert -Ursprüngliche Nachricht- Von: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] Im Auftrag von Hunkeler Peter (KIUP 4) Gesendet: Donnerstag, 17. September 2009 10:46 An: IBM-MAIN@BAMA.UA.EDU Betreff: Re: passing parameter

Re: passing parameter data in BPXBATCH

2009-09-17 Thread Kirk Wolf
Sven, You might want to try our free COZBATCH utility, which is an alternative to BPXBATCH. See: http://dovetail.com/products/cozbatch.html Some features that apply to your question: - It runs in the same address space, so you C program will be able to read DDs. Unlike BPXBATSL, you can easily