ZFile and multi volume datasets

General discussion on the JZOS batch launcher and toolkit
Post Reply
MichaelLueghausen
Posts: 5
Joined: Fri Feb 11, 2005 5:46 am
Location: Germany

ZFile and multi volume datasets

Post by MichaelLueghausen »

I need to open new (create) multi volume datasets using ZFILE.
It looks to me that this is not possible because there is no appropriate function/support in the underlying C/C++ API. Any suggestions to solve this problem are welcome

Thanks,
Michael
orr94
Posts: 22
Joined: Thu Feb 24, 2005 1:28 pm

Post by orr94 »

There might be a better way to do this, but whenever I run into something I want to do that JZOS can't help me with (and I can't easily write a JNI application to do), I just submit an MVS job to take care of it. There's a free API available on IBM's site that allows you to submit MVS jobs to the internal reader from Java:

http://www-03.ibm.com/servers/eserver/z ... a1ty2.html
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

You're right; sometimes JCL works best.

But you might be able to use the ZUtil.bpxwdyn() interface to BPXWDYN to do fancy allocations.

BTW: there is a new release of JZOS coming out any minute (version 1.2.4) which fixes BPXWDYN. (It was broken in -some- environments)
Post Reply