Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to find out the jobs which using datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
bipinpeter

New User


Joined: 18 Jun 2007
Posts: 47
Location: pune

PostPosted: Mon Jun 02, 2008 7:23 pm    Post subject: How to find out the jobs which using datasets
Reply with quote

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
View user's profile Send private message
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3511
Location: Brussels once more ...

PostPosted: Mon Jun 02, 2008 7:40 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Moved: Mon Jun 02, 2008 7:56 pm by superk From CLIST & REXX to SMS & VSAM
bipinpeter

New User


Joined: 18 Jun 2007
Posts: 47
Location: pune

PostPosted: Mon Jun 02, 2008 8:58 pm    Post subject:
Reply with quote

I can't understand the 'SMF types 14 & 15 will tell you'.Can you explain to me?
Back to top
View user's profile Send private message
bipinpeter

New User


Joined: 18 Jun 2007
Posts: 47
Location: pune

PostPosted: Mon Jun 02, 2008 9:00 pm    Post subject:
Reply with quote

From where i'll get the SMF dataset name?
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8652
Location: 221 B Baker St

PostPosted: Mon Jun 02, 2008 10:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3511
Location: Brussels once more ...

PostPosted: Tue Jun 03, 2008 11:35 am    Post subject:
Reply with quote

Try looking at a manual, they really are quite helpful

http://publib.boulder.ibm.com/cgi-bin/bookmgr/FINDBOOK?filter=smf&Collection=0&bcsi_scan_9D146EA76AED18CE=pz5azGzLxLzGOfkYfGtFpyUAAAAaBtcR
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 510
Location: work

PostPosted: Tue Jun 03, 2008 10:01 pm    Post subject: Reply to: How to find out the jobs which using datasets
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1