.
I have a Started Task (STC), and sometimes a batch job will hold a VSAM dataset 
needed by this STC. This prevents the STC from properly re-opening the dataset.
.
Share Options are 2,3 and Transactional VSAM (RLS) is not an option.
.
.
Im looking for a macro or callable service that will allow the Started Task to 
identify the name of the batch job that has opened a VSAM dataset which the 
Started Task needs. 
.
.
I started reading the description of the ISGQUERY and its various Mapping 
Macros but i dont see where it would returns the name of a batch job that has 
allocated a VSAM dataset. I suspect I would use 
GATHERFROM=SYSTEM  with SCOPE=SYSTEM, since the batch processing occurs on the 
same LPAR as the Started Task.

Is ISGQUERY the proper macro/service to accomplish this ?
.
Would someone provide some sample code and point me to the proper macro/service 
to invoke.
.
.
The Started Task happens to be a CICS Address Space and we would use a CICS 
Supplied Open Exit to drive this.
.
.
Paul D'Angelo
*************
*************

Reply via email to