I would just caution about overusing the PAGEDEL command, depending on
how big the new page dataset is - IF he is combining these with the
PAGEADDs. I got burned once trying to move a bunch of page datasets
around on a fairly static (paging wise) system - like it appears his
might be.
>From an old APAR (OY50780),
WHEN A PAGE ADD IS DONE FOLLOWING COMPLETION OF A PAGE DELETE
THE ADDED DATASET SHOWS AS HAVING SLOTS IN USE AS SOON AS THE
PAGE ADD COMPLETES. THIS APAR IS TO DOCUMENT THE FACT THAT
THIS IS NOT A PROBLEM AND SHOULD BE AN EXPECTED CONDITION.
DURING A PAGE DELETE SOME OF THE PAGES ON THE DELETING
DATASET ARE MOVED TO OTHER PAGING DATASETS. ASM KEEPS TRACK
OF THE NEW LOCATIONS OF THESE PAGES. WHEN THE PAGE DELETE
COMPLETES THE PARTE IS RETURNED TO THE POOL AND IS AVAILABLE
FOR REALLOCATION SHOULD A PAGE DATASET BE PAGE ADDED.
IF A PAGE ADD IS DONE, AND THAT PART IS SELECTED FOR USE
WITH THE NEW DATASET, ALL OF THE SLOTS ON THE NEW DATASET THAT
WERE IN USE AT THE TIME OF THE PAGE DELETE WILL BE MARKED AS
IN USE ON THE NEW DATASET IF THE CORRESPONDING PAGES HAVE NOT
BEEN REFERENCED BY THE OWNER SINCE THE PAGING DATASET WAS
DELETED. ONCE THE PAGE ADD IS COMPLETE AND THE PAGES ARE
REFERENCED, THE SLOT ON THE PAGE ADDED DATASET AS WELL AS THE
SLOT WHERE THE PAGE ACTUALLY RESIDES WILL BE FREED.
THE PROCESS MUST BE DONE THIS WAY OR THE SYSTEM WOULD END UP
WITH MULTIPLE VIRTUAL PAGES WITH POINTERS TO THE SAME LOCATION
ON AUX.
The z/OS 1.4 manual indicates that even though this APAR is 15 years
old, it is still valid. Doing an occasional PAGEADD/PAGEDEL is OK, but
in his situation, where he has several page datasets that are full, it
might be tempting to simply allocate a new, larger page dataset,
activate it, PAGEDEL one of the small ones, and then continue doing
this. He may get bit by the reuse of the page slots.
Rex
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Marchant
Sent: Monday, March 05, 2007 3:02 PM
To: [email protected]
Subject: Re: When Does the New LOCAL Get Used? RE: ILR006E COMMON PAGE
DATA SET FULL,...
On Mon, 5 Mar 2007 15:28:47 -0500, Veilleux, Jon L wrote:
>Ed Finnell wrote
>>
>>Guess if you're feeling frisky could do a PAGEDEL against one of the
>>old ones and see where it goes.
>>
>
>Nowhere without also using the 'DRAIN' option.
DRAIN only makes the page data set read-only. No new pages will go
there, but pages will not be moved. You can do a drain if you think
you'll be DELETEing or REPLACEing a page data set so that there will be
less for DELETE or REPLACE to have to move.
-
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html