so, we have file transfers being converted from Connect:Direct over to MQ/MFT. Under CD, when a file is sent to z/OS, the z/OS side of CD has configuration options to handle the situation where the target dataset is in use, and a defined retry time and # of retries is used to wait until that dataset is not in use and then allow the transfer to complete. This gets used a lot, by certain applications.
Under MQ/MFT, if that dataset is in use, on z/OS, the transfer fails. The application team that has a lot of these transfers that take advantage of CD's ability to deal with datasets in use, do not like the fact that the MQ/MFT transfers to z/OS fail and don't work like CD.
In doing digging, IBM has the JZOS api's for java, that can do Enqueue's, however doing them for datasets, at the level I think they need to be, is restricted by well defined rules, that require the program trying to do the enqueue to be in a "privileged" state (which java does not run in), thus requiring a JNI interface to some code that can do that.
What I am hoping, is that someone out there may have already done this as 1) I'm very much a novice at java coding, 2) I've never written JNI code (based on #1).
Some of the AI tools have tried giving me code to do this, but they don't come up with anything that works, at all.
Thanks,
Peter
------------------------------
Peter Vander Woude
------------------------------
Follow-up. I have submitted an Idea to IBM to add this type of functionality to MQ/MFT. IBM Ideas