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

Find out which datasets are used by the system currently


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Jan 29, 2008 5:25 pm
Reply with quote

I have a list of volumes. Each volume contains 1000 datasets. Now My request is to move these datasets to new model volumes. But i am facing few problem

1) Some datasets are used by started tasks.
2) Some are specified in lpa list.
3) Some are system oriented datasets etc...

Is there any simple way other than pencil and paper work to find out which datasets are used by the system currently and which are not.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 29, 2008 5:37 pm
Reply with quote

for this kind of activities a planned system shutdown is usually required...

IPL from an alternate system and carry on all the copy and..
catalog fixup
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 29, 2008 5:47 pm
Reply with quote

If you have TASID, you can see the APF Autorized libraries, LPA libraries and the LinkList.

TASID is a freeware software, available for download from here.

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

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Jan 29, 2008 5:48 pm
Reply with quote

Thats true it can be done in this way but these are production datasets and volumes will be used by the system always. System can't be shut down for more that 30mins while doing IPL. So we have very less time to do this activity. Before IPL I want to move some unused datasets.

I hope I am clear.

Thanks in advance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 29, 2008 5:59 pm
Reply with quote

If You are sure that nobody, repeat nobody, is updating those datasets

You can try to use dfdss with "tolerate enqueue failure"
renaming them in order not to have any catalog clashes

and all is left during the planned outage is to fix the catalogs
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Jan 29, 2008 6:07 pm
Reply with quote

I am not able to understand this concept. Could you please be more clear with some examples how to code this 'tolerate enqueue failure'.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 29, 2008 6:14 pm
Reply with quote

check the dfdss/adrdssu docs for the parameter TOLERATE(ENQFAILURE)
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Thu Jan 31, 2008 4:09 pm
Reply with quote

Enrico-sorichetti,

If we use parameter 'TOLERATE(ENQFAILURE)' there will be a problem

If for example a file (XXX.YYY) is allocated in volume SSYS01 is used by a STC. Now I run my job using parameter 'TOLERATE(ENQFAILURE)' to migerate to new volume XSYS01.

As the dataset us sued by STC it will create a copy on new volume XSYS01 but will not be cataloged also will not delete the datset on the existing volume SSYS01. This means there will be two copies of the same dataset.

So I hope its not good idea to migerate to new volumes using parameter 'TOLERATE(ENQFAILURE)'.

Pls correct me if I am wrong.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jan 31, 2008 9:38 pm
Reply with quote

Yes You are wrong, because You did not care to try to understand my post

reread and meditate
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Fri Feb 01, 2008 12:44 am
Reply with quote

In my opinion using DFDSS copy with TOL(ENQF) and rename is not the best way to proceed . This can only lead to problems. You can establish which tasks are using the disc by issueing a "d u,,alloc,xxxx,1" command
where xxxx is the unit address. Once you know which tasks have allocated the disk it is relatively easy to find out which datasets are allocated. You can then build a DFDSS job to move the datasets that are not in use (lpalib datasets can be moved, they are normally only required at ipl time). Then you will have to analyze what is left over and see what is to be done .

Nevil
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Feb 01, 2008 1:02 am
Reply with quote

Hello,

Which part of "IPL from an alternate system" was not clear?

Keep in mind that this requires the "main" system to be completely shut down leaving none of the files in use. . .

It takes a bit of planning, but is far safer than dancing around what might or might not be in use.

Maybe i misunderstand icon_confused.gif
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Fri Feb 01, 2008 3:13 pm
Reply with quote

Quote:
System can't be shut down for more that 30mins while doing IPL

I would think this rules IPL from alternate system
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Fri Feb 01, 2008 3:14 pm
Reply with quote

Should have said I would think this rules IPL from alternate system out
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Fri Feb 01, 2008 7:31 pm
Reply with quote

Thanks a lot for spending you valuable time.

We identified some unused datsets and migerated to different volumes. We planed IPL and will be doing the remaining datasets at that time.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Feb 01, 2008 8:10 pm
Reply with quote

You're welcome - good luck icon_smile.gif

d
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top