× 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 would suggest the following:

C     CLEP31        SETLL          GCO31F06
C     CLEP31        READE (E)      GCO31F06
C                   DOW            not %EOF(GCO31L06)

C                   WRITE          SUBFILE

C     CLEP31        READE (E)      GCO31F06
C                   ENDDO

This will work as long as GC031L06 is the file that is
being processed.  I'm thinking that GC031F06 is your
record name.  The %found BIF is not used for READx operations.
It can only be used for CHAIN, DELETE, SETGT, or SETLL.

Marc Zylka


-----Original Message-----
From: YJacqueline@guydegrenne.fr [mailto:YJacqueline@guydegrenne.fr]
Sent: Friday, November 23, 2001 5:14 AM
To: rpg400-l@midrange.com
Subject: Change indicator %found or %eof


Hello,

My program is like this :

C     CLEP31        SETLL          GCO31F06
C     CLEP31        READE (E)      GCO31F06
C                        DOW             %EOF(GCO31L06) = *OFF
C                        IF                   %FOUND(GCO31L06)
C              WRITE          SUBFILE
C                        ENDIF
C     CLEP31        READE (E)      GCO31F06
C                        ENDDO

In STRDBG, could you explain, how I can change the (*on or *off) for
(%found or %eof).
I'm not using indicator and I don't want to use it.

Best regards.

Yannick.Jacqueline
Service Informatique
Tél : 02-31-66-46-69
E-Mail : yjacqueline@guydegrenne.fr
Visitez notre site Web à : http://www.guydegrenne.fr/


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