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



You could use a trigger on the physical file (ADDPFTRG) which would then
call your program whenever a record was added.  Look in the RPG sorcerer's
guide for info on how to do this.  Or if you need to retain information as
you go you could use a data queue.  I have a setup where I wait for entries
to come into a data queue and when one comes in my program processes it.
This would need to used in conjunction with a trigger on a physical file if
you wanted to get new records added to a file.

Hope that helps,
Aaron Bartell

-----Original Message-----
From: MURALI DHAR [mailto:nmuralidhar@rediffmail.com]
Sent: Monday, December 02, 2002 11:04 AM
To: rpg400-l@midrange.com
Subject: I want the system to hold my program until more data
arrives.........


Hi
Iam just reading "pf" in RPG..Occassionally,instead of telling the
program there is no more data,I want the system to hold my program
until more data arrives in the file.when the more data arrives in
the file,the program can read the newly arrived records..how can i
do this type of processing in RPG....In CL i guess i can mention
EOFDLY parameter on OVRDBF.....
Kindly suggest me...
Regards&Thanks,
Murali

________________________________________________________________
  NIIT supports World Computer Literacy Day on 2nd December.
  Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
  and get free Indian Languages Office software worth Rs. 2500.
  For details contact your nearest NIIT centre, SWIFT Point
  or click here http://swift.rediff.com/




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