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: 8593
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: 2081
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
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm

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