× 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.



On 03 Aug 2012 11:57, CRPence wrote:
On 03 Aug 2012 10:44, Jon Paris wrote:
Anyone found a method of changing the record length of a Source
Physical other than copying it?

I have a bunch with the 92 length and would like to change them to
112 but neither CHGSRCPF or CHGPF will do it as far as I can tell.


ALTER TABLE and CHGPF SRCFILE(named) will enable that. The SQL is
simplest, since most SRC-PF will not have, were not created using,
DDS source; if they have source, probably best to modify the source
and use CHGPF.


Oops! I accidentally tested both the SQL ALTER TABLE and the CHGPF SRCFILE(named) on a SRCPF created from source... but on a file where I had forgotten to specify FILETYPE(*SRC); i.e. they both functioned only because the file operated against was created as FILETYPE(*DATA). :-(

Indeed, the SRC-PF attribute is not allowed to be changed by either request. I had forgotten about that restriction.

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.