Hello, . I have a Started Task (STC), and sometimes a another job will hold a VSAM dataset needed by this STC. This prevents the STC from properly re-opening the dataset. . The VSAM datasets are defined with Share Options are 2,3 and Transactional VSAM (RLS) is not an option. . . Im looking for a z/OS macro or callable service that will allow the Started Task to identify the name of the other 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 the 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 to accomplish this. . . The Started Task happens to be a CICS Address Space and we would use a standard CICS Supplied Open Exit to drive this. . . Paul ************* ************* ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
