View previous topic :: View next topic
|
Author |
Message |
muthusamy
New User
Joined: 21 Feb 2008 Posts: 4 Location: chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Acrually, it's ISPF's. Take a look at the ISPF Service QUERYENQ.
O. |
|
Back to top |
|
|
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
You may use this :
CALL OUTTRAP "LIST."
"LISTA STATUS"
. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Bala1
New User
Joined: 18 Mar 2010 Posts: 6 Location: london
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
DDLIST E data-set-name
or
TSO ISRDDN E data-set-name |
|
Back to top |
|
|
|