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



I have a project coming up where I need to expand a character field in a physical file but for now I don’t want to increase the field length in any associated logical files. I created a test physical file and test logical with the field length set at the current size, compiled them and looked at the file identifier in the logical and recorded the value. The logical file listed all physical file fields and the logical had blanks for the length so it would use the physical length. I then changed the logical to specify a length that matched the physical like below and compiled the logical and the file identifier did not change (as I expected). I then change the length of LNAME to 50 in the physical and did a CHGPF, recompiled the logical with LNAME at 18. Since the layout of the logical did not change I expected the file identifier to not change but it did. Is this normal behavior ? I was hoping I could do this and not need to recompile a lot of RPG applications that use this logical.

A R PERDTA
A SSID
A LNAME 18
A MNAME
A FNAME
A LFNAME
A LNAMELC
A MNAMELC
A FNAMELC
A LFNAMELC
A ADDR1
A ADDR2
A CITY

Mike Cunningham

________________________________
This email may contain confidential information about a Pennsylvania College of Technology student. It is intended solely for the use of the recipient. This email may contain information that is considered an “educational record” subject to the protections of the Family Educational Rights and Privacy Act Regulations. The regulations may be found at 34 C.F.R. Part 99 for your reference. The recipient may only use or disclose the information in accordance with the requirements of the Federal Educational Rights and Privacy Act Regulations. If you have received this transmission in error, please notify the sender immediately and permanently delete the email.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.