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



Hi Andy,

We've used local files here and there. At our shop we define most of our variables "LIKE" a field from a file. So in moving a file to a subprocedure b/c that's the only logic that will ever use the file directly, to get out field definitions to still be "LIKE" the file's fields, we create a template qualified data structure pointing to the file.

I like having a file defined within a procedure if only that procedure uses the file. Commonly used when a file is being loaded into an array. Overall I think this functionality is neat... as noted above, if I define the file locally, I almost always end up needing a template of the file for global use.

Anyway, if you're moving from v5r4 to 7.1, here are some articles that may interest you:

6.1
http://www.mcpressonline.com/programming/rpg/v6r1-sql-ile-rpg-precompiler-enhancements.html
http://www.mcpressonline.com/programming/rpg/v6r1-rpg-enhancements.html

7.1
http://www.iprodeveloper.com/article/rpg-programming/rpg-iv-at-ibm-i-71-65079
http://www.mcpressonline.com/programming/rpg/ibm-i-71-first-looks-rpg.html
http://www.iprodeveloper.com/article/rpg-programming/a-quick-tour-of-the-new-rpg-features-in-ibm-i-71-65117

Kurt Anderson
Sr. Programmer/Analyst
CustomCall Data Systems, a division of Enghouse Ltd.


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.