Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to find the dataset status "Data set in use"

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
muthusamy

New User


Joined: 21 Feb 2008
Posts: 4
Location: chennai

PostPosted: Mon Nov 16, 2009 12:54 pm    Post subject: How to find the dataset status "Data set in use"
Reply with quote

Hi all,
if same ps file is opened twice, it shows message "data set in use".
can you provide information how to find the dataset status "Data set in use" using REXX?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Nov 16, 2009 1:53 pm    Post subject:
Reply with quote

Acrually, it's ISPF's. Take a look at the ISPF Service QUERYENQ.

O.
Back to top
View user's profile Send private message
jkri

New User


Joined: 24 Jul 2007
Posts: 17
Location: pune

PostPosted: Mon Nov 16, 2009 6:02 pm    Post subject:
Reply with quote

You may use this :

CALL OUTTRAP "LIST."
"LISTA STATUS"

.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8685
Location: Back in jolly old England

PostPosted: Mon Nov 16, 2009 6:41 pm    Post subject:
Reply with quote

jkri wrote:
You may use this :
CALL OUTTRAP "LIST."
"LISTA STATUS"

And precisely what useful information does that give us as to who is using / holding a resource ?
Back to top
View user's profile Send private message
Bala1

New User


Joined: 18 Mar 2010
Posts: 6
Location: london

PostPosted: Tue Mar 30, 2010 5:21 pm    Post subject:
Reply with quote

Muthu,

I am not sure if you can use the following rexx ..as i have replied very late to ur post


/*****************REXX*******************************/
CLEAR
SAY 'PLEASE PROVIDE THE DSN NAME'
PULL DSN
ADDRESS 'TSO' "ISRDDN E" "'"DSN"'"
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2110
Location: Silicon Valley

PostPosted: Tue Mar 30, 2010 7:28 pm    Post subject: Reply to: How to find the dataset status "Data set in u
Reply with quote

If you are editing and get 'dataset in use', you can press PF1 (twice) and it will show you who also has that dataset.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Wed Mar 31, 2010 12:42 am    Post subject:
Reply with quote

DDLIST E data-set-name
or
TSO ISRDDN E data-set-name
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Submit JCL to INTRDR and check the st... srajendran2 COBOL Programming 6 Sat Jun 16, 2018 1:30 am
No new posts How to delete large data. Mounika Nemani DB2 1 Wed Jun 13, 2018 1:58 pm
No new posts Bill Woodger Status? ApexNC DFSORT/ICETOOL 11 Tue Jun 05, 2018 5:17 pm
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us