|
There *are* other reasons, Mike. <g> Level break processing, which is available only for primary file processing (i.e., using the RPG cycle), can be a godsend for those who know how to use it. While it is possible to write the code to do this (my favorite: JDEdwards S002 subroutine!), RPG's internal level break processing can save a lot of coding and mistakes. - Dan Bale (I am *NOT* "Dale" http://archive.midrange.com/midrange-l/200105/msg00281.html ) SAMSA, Inc. 989-790-0507 DBale@SAMSA.com <mailto:DBale@SAMSA.com> Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Mike.Collins@syan.co.uk Sent: Wednesday, May 22, 2002 7:18 AM To: rpg400-l@midrange.com Subject: Re: Difference bet. Primary and Full procedural file. A file designed as input primary (or indeed secondary) is read using the RPG cycle, that is you do not and indeed cannot issue your own reads or chains to that file. A file designed as fully procedural means that you control the reading of that file. In the very early days of RPG the cycle was the only way to process a file, and this function still remains in "modern" RPG, however it is rarely used these days, in fact most RPG programmers will have NEVER used it at all, though some people on this list still use it on occasion, as it is in theory quicker to read a file in using the cycle than to code it yourself.
As an Amazon Associate we earn from qualifying purchases.
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.