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



More than likely I don't know enough about the CHGPF command.  The way I
understand it (and the way my last corporation taught it) - if you want to
change a PF, in order to recompile it you have to move the data out and
delete all the logicals.  Then you move the data back, re-compile all the
LFs.  Then you have to recompile all the programs that refer to any of those
files (not necessarily in that order).  We had several PFs with more than a
hundred LFs and it became verbotten to do a physical file change because of
the danger of missing something.  If there is a better way then I would love
to learn it although I don't have the same problem at this job, but I hope
you can see why I hold that opinion.

Joel R. Cochran
Director of Internet Services
VamaNet.com
(800)480-8810
mailto:custservice@vamanet.com

> -----Original Message-----
> From: JMBauman@wardtrucking.com [mailto:JMBauman@wardtrucking.com]
> Sent: Monday, February 11, 2002 9:20 AM
> To: rpg400-l@midrange.com
> Subject: Subject: RE: PF with lotsa LFs
>
>
>
> Just curious Joel, but why would this be a maintenance
> nightmare? If it is
> unavoidable to have hundreds of logical files, only use the
> logical files
> in your programming while leaving the physical file unused by
> any program.
> When you need to change the file layout change the DDS for
> the physical
> file and issue a CHGPF command and walla.
>
> Now depending on size of PF, this make take some time but
> nothing I would
> consider a nightmare.  Like to hear your thoughts.
>
> John M. Bauman
> Lead Programmer
> Ward Trucking
> Second Avenue & Seventh Street, Greenwood
> Altoona, Pa 16602
>
> Voice: (800) 458-3625 Ext. 284
> Voice Direct: (814) 947-1284 (Direct Line)
> Fax: (814) 944-5470
> JMBauman@Wardtrucking.com
>
> Visit our website at http://www.wardtrucking.com
>
> Is OPNQRYF or SQL not an option?  100+ logicals is a
> maintenance nightmare
> unless you are willing to never change the file layout.
>
> Joel R. Cochran
> Director of Internet Services
> VamaNet.com
> (800)480-8810
> mailto:custservice@vamanet.com
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>


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.