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


  • Subject: Re: RPG READE - FACTOR 1
  • From: cmassoglia@xxxxxxxxxxx (Charlie Massoglia)
  • Date: Wed, 30 Jul 1997 21:19:05 -0400 (EDT)

Wayne wrote:

>Does anyone know when RPG stopped requiring Factor 1 on the READE opcode
>or if was ever required. I was pretty sure that it was required at some
>Release. It seems by not requiring factor 1 a door is wide open for
>logic errors. For example the typical filekey setll filename followed by
>a filekey reade filename. If the reade is missing the filekey in factor
>1. the reade is matched against the full key of the current record (I
>guess the record that the file cursor is sitting under) based on the
>record format used which may or may no be the same as the key specified
>on the setll. TIA    
>-- 
Hans is correct it was V1R3.  Now the real question.  What is the difference
between a READE with or without factor 1 specified.  My understanding is
there are certain circumstances when using an update file with factor 1
specified for a READE where RPG can not turn on the not found indicator if
the next record (i.e. the one which has a key not equal to factor 1) is
locked by another user.  This never happens when factor 1 is not specified.


Charlie Massoglia, Massoglia Technical Consulting, Inc.
PO Box 1065, Okemos, MI 48854, USA
517-676-9700  Fax: 517-676-1006  EMAIL: cmassoglia@voyager.net


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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.