|
|
| Author |
Message |
bipinpeter
New User
Joined: 18 Jun 2007 Posts: 43 Location: pune
|
|
|
|
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
Regards,
Bipin Peter |
|
| Back to top |
|
 |
References
|
Posted: Mon Jun 02, 2008 7:23 pm Post subject: Re: How to find out the jobs which using datasets |
 |
|
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2952 Location: Brussels once more ...
|
|
|
|
SMF types 14 & 15 will tell you,
14 - open for input
15 - open for output.
Easily decipherable records that you process using SORT. |
|
| Back to top |
|
 |
Moved: Mon Jun 02, 2008 7:56 pm by superk From CLIST & REXX to SMS & VSAM |
bipinpeter
New User
Joined: 18 Jun 2007 Posts: 43 Location: pune
|
|
|
|
| I can't understand the 'SMF types 14 & 15 will tell you'.Can you explain to me? |
|
| Back to top |
|
 |
bipinpeter
New User
Joined: 18 Jun 2007 Posts: 43 Location: pune
|
|
|
|
| From where i'll get the SMF dataset name? |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7505 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| From where i'll get the SMF dataset name? |
From your storage management or system support people. They can also explain any info you need about those 2 record types. |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2952 Location: Brussels once more ...
|
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 313 Location: work
|
|
|
|
| Quote: |
| 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)" |
|
| Back to top |
|
 |
|
|