Hi Nancy - I don't
know the answer to either of your questions, but I can speculate for you. :-)
When you say "allocation or OPEN exit", are you speaking of the subsystem calls (39 and 16, I think) or of DFSMS-type exits? Allocation would only be a subsystem call, I think, but then you mention restrictions on using Dynalloc from "User exits for OPEN/CLOSE/EOV". I can't see there'd be a restriction on doing Dynalloc from the subsystem calls, but of course those calls are being made in the caller's environment, and who know what that is in the case of allocation... I guess you could experiment to see if you have an enqueue on SYSZTIOT when you get control.
Another approach is of course to use batch allocation for your dataset, and then inform your subsystem of the allocation with a parameter on the DD that has the SUBSYS= - something like
//REALFILE DD DSN=name,DISP=...
//MYFILE DSN=filename,SUBSYS=(ssid,"REALFILE","parm2") (or even use the DDNAME as the DSN, which is really just another parm in this context)
I have no idea why Dynalloc would be ignoring your DALDDNAM. Presumably you can just use the SYSnnnnn, but maybe it's a warning that you are going down a not well explored path.
In a way I'm surprised that you have got this far given the lack of IBM doc on the subsystem interface. This general topic has been discussed at length on the IBM-MAIN list over many years, and it will probably pay you well to check the archives there, and/or ask your question there as well.
"For IBM-MAIN subscribe / signoff / archive access instructions, send email to
listserv@listserv.ua.edu with the message: INFO IBM-MAIN"
Regards... Tony H.
------------------------------
Tony Harminc
------------------------------