Hi All,
Is any way to find out the jobs that using the data set by rexx?.Can we get the information like which we getting from CA-7 with ldsn command.
The jobs which using dataset are sceduledin CA7
information like which we getting from CA-7 with ldsn command.
Sorry, not familiar with LDSN command...
SMF records will tell you who used a dataset in the past.
But if I wanted to know who is currently using a dataset (or who is waiting to use), I would use the QUERYENQ service of ISPF. See the 'ISPF Services' manual. You can call it from rexx.
You can also write your own assembler program that calls the ISGQUERY macro. See "MVS Programming: Assembler Services Reference, Volume 2 (IARR2V-XCTLX)"