× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dan,

What other attributes of the PF are you trying to change? If it is only CHGPF with the source file and member, as shown, is this an attempt to do the equivalent of SQL ALTER TABLE using DDS and CHGPF?  If so, and the file is large, this may take a significant amount of time to complete that operation... and the job will need an exclusive lock for the duration ... :-/

So, this is probably something that needs to be planned and scheduled for "off-hours."

Also, how many LFs are over that PF?

Changing an existing file is never trivial -- there are many considerations.

There was a thread "Deploying DB2 table changes" that touched on these issues on MIDRANGE-L last November -- see:

   https://archive.midrange.com/midrange-l/202111/msg00507.html  ;

You can read the whole thread there ...

Hope that helps,

Mark S. Waterbury




On Thursday, January 27, 2022, 01:56:25 PM EST, Dan <dan27649@xxxxxxxxx> wrote:





Hi Marc,

The file currently has 1900000 records in it.  I am waiting for the DSPFD
listing from the client.  Regardless, the existing file's SIZE attributes
(Initial number of records, Increment number of records, and Maximum
increments) would have to accommodate the number of records already in the
file.  I think, anyway.

- Dan

On Thu, Jan 27, 2022 at 1:35 PM Marc Rauzier <marc.rauzier@xxxxxxxxx> wrote:

Le 27/01/2022 à 19:24, Dan a écrit :
Does this make any sense?  Command is:
QSYS/CHGPF FILE(OI9LIB/XTRA9) SRCFILE( OI9LIBS/QDDSSRC) SRCMBR( XTRA9)

When I prompt the CHGPF command, the default for SIZE is *SAME.

In that case, *SAME might refer to initial size, and your file got some
increments?

What is the initial size versus the current one?

Not sure at all, just thinking.


- Dan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.