MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DATA SET XXX IN USE ??

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Fri Aug 11, 2006 1:17 am    Post subject: DATA SET XXX IN USE ?? Reply with quote

Quote:
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF OUTPUT DISPLAY RASCEDC JOB20055 DSID 102 LINE NOT PAGE MODE DATA
COMMAND INPUT ===> SCROLL ===> CSR
********************************* TOP OF DATA **********************************
READY
SMCOPY FDS('SAAE.MCM.PRM.AEJL.BASE0(RFSRA4D1)') TDS('STCN.MSI.PRM.D
IKJ56225I DATA SET STCN.MSI.PRM.DC ALREADY IN USE, TRY LATER+
IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER
READY
END
******************************** BOTTOM OF DATA
********************************

I use smcopy to copy member,but it told me the data set is in use. Because even I can edit and 'z' to compress the
data set, I can not copy member.I can copy it into my own prefix lib like 'MYTSOID.XXX.XXX' successful.Can I know who are using it or how to make this data set available for smcopy










. . . . . . . . . . . . . . . . . . . . . . . . . . .
Back to top
View user's profile Send private message Send e-mail MSN Messenger
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Fri Aug 11, 2006 1:55 am    Post subject: Reply with quote

issac1029,

Try the below steps.Hope this helps.

1.Go to Option 3.4 and give the dataset name as STCN.MSI.PRM.DC
2.Try Editing the dataset and you will get the following message on the screen:
Code:

                                                               Data set in use
Command ===>                                                  Scroll ===> PAGE
                                                                               
Command - Enter "/" to select action                  Message           Volume
-------------------------------------------------------------------------------
E        STCN.MSI.PRM.DC                                                XXXXXX
***************************** End of Data Set list ****************************

3.Press Function key F1 and you will get the following message on the screen:
Code:

                                                                             
______________________________________________________________________________
 Data set is being updated by you or another user. Enter HELP for a list of
 users using the data set.                                                 
______________________________________________________________________________

4.Press once again F1 and you will get the USERID who is holding the dataset on the screen where XXXXXXX = TSO USERID
Code:

                             Data Set Contention                               
Command ===>                                                                   
                                                                   More:     +
   Data set 'STCN.MSI.PRM.DC'                                             
   is in use by the following 1 user(s) and/or job(s):                         
------------------------------------------------------------------------------
    XXXXXXX

_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Aug 11, 2006 9:31 am    Post subject: Reply with quote

The easier way is TSO ISRDDN E dsname or just ISRDDN E next to the name in option 3.4 data set list
Back to top
View user's profile Send private message Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri Aug 11, 2006 4:25 pm    Post subject: Reply with quote

I tried doing a TSO HELP ISRDDN and it didn't show up - I want to see the parameters to ISRDDN - Here you've used ISRDDN E and I want to know the other options are. What am I missing here?
________
Chicago Assembly


Last edited by coolman on Sat Feb 05, 2011 1:47 am; edited 1 time in total
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Aug 11, 2006 5:06 pm    Post subject: Reply with quote

ISRDDN is an ISPF program. Enter TSO ISRDDN and press help. The parameters are basically anything you can enter on the command line while in that program.
Back to top
View user's profile Send private message Visit poster's website
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sat Aug 12, 2006 3:06 am    Post subject: Reply with quote

The problem is that I can 'E' and do not give

Quote:

Code:

Data set in use
Command ===> Scroll ===> PAGE

Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
E STCN.MSI.PRM.DC XXXXXX
***************************** End of Data Set list ****************************


This DS is create by another people.

When I create a PDS myself,it runs well.

Is it possible for a DS being used can be 'EDIT'?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Aug 12, 2006 11:44 am    Post subject: Reply with quote

it is possible for more than 1 person to edit a PDS only if the data set is DISP=SHR by both people. The allocation being done by SMCOPY is probably DISP=OLD and it is not being freed.
Back to top
View user's profile Send private message Visit poster's website
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sun Aug 13, 2006 8:43 pm    Post subject: Reply with quote

semigeezer,

That's it~,but how to know who is access pds use disp=SHR?

And,if someone edit using 'E' BY DISP=SHR,then can I using 'Z' to compress the PDS at this time?

Smcopy is using OLD.You are right.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
sarav80
Beginner


Joined: 20 Sep 2003
Posts: 13
Topics: 11
Location: Bangalore

PostPosted: Wed Aug 23, 2006 5:40 am    Post subject: Reply with quote

Try the command in log:

D GRS,RES=(SYSDSN,dataset name)
Back to top
View user's profile Send private message Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Wed Aug 23, 2006 4:44 pm    Post subject: Reply with quote

Sarav,

What do you mean by Log? Is it the system log? If yes, I went there and typed in the above command and all it said 'INVALID COMMAND'

??
________
Ford Motor Company Philippines history


Last edited by coolman on Sat Feb 05, 2011 1:51 am; edited 1 time in total
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Aug 24, 2006 8:06 am    Post subject: Reply with quote

Did you remember to prefix it with a slash? This is a system command, not an SDSF command.

/D GRS,.........
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Pknair
Beginner


Joined: 29 Nov 2005
Posts: 26
Topics: 9

PostPosted: Thu Oct 12, 2006 3:12 pm    Post subject: Reply with quote

Did you try TSO WHOHAS 'DSNNAME'. Most shop's have that.
Thanks
Pknair
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Oct 12, 2006 11:07 pm    Post subject: Reply with quote

This is an ancient thread, and ALL shops have ISRDDN. It is part of ISPF
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group