On Sat, 1 Jun 2019 20:02:04 -0500 Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
:>On Sat, 1 Jun 2019 21:07:40 +0300, Binyamin Dissen wrote: :> :>>On Fri, 31 May 2019 16:32:13 +0000 willie bunter wrote: :>> :>>:>Would anybody have an example to run the GRS command for the following dsn? via a batch job : :>>:>?DGRS,RES=(*,SYS1.LINKLIB) :>>:>Thanks in advance :>>The bigger question would be why you would want to do this. :>Perhaps SYS1.LINKLIB was a poorly chosen example. But I can envision :>a production job's or autoops submitting a production job's desire to :>chide someone sitting on a needed data set. :>Perhaps autoops has the answer to the original question. :>If a programmer is so rash as to submit a job with DSN=SYS1.LINKLIB, :>DISP=OLD, does it go in the queue and block other jobs? :> Beyond that, OS has always struck me as having a paucity of APIs :>compared to its brethren. On those other systems, the question would :>be posed as "What API does the operator command use?" not "What is :>the interface to issue the operator command?" There are APIs to do that. If the question was, "how can a batch job determine what running jobs are using a dataset" he was have received answers to the point. -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN