| 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
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
@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
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
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
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 /
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
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
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
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
10 matches
Mail list logo