View previous topic :: View next topic
|
Author |
Message |
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
check the dfdss/adrdssu docs for the parameter TOLERATE(ENQFAILURE) |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Yes You are wrong, because You did not care to try to understand my post
reread and meditate |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
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 |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Should have said I would think this rules IPL from alternate system out |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome - good luck
d |
|
Back to top |
|
|
|