IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find the dataset status Data set in use


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Mon Nov 16, 2009 1:53 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Nov 16, 2009 6:41 pm
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
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

Global Moderator


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

PostPosted: Tue Mar 30, 2010 7:28 pm
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: 400
Location: Mumbai

PostPosted: Wed Mar 31, 2010 12:42 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top