|
Hi Heba, This is my solution: Program A is submitted upon system startup (or in the morning for instance). Program A submits program B, which does the job it's supposed to do, in your case authorise the new orders. Program A waits for a certain time (determined by the number of seconds in a data area) Program A loops back to the submitting of program B. Hope this helps. Peter Colpaert Application Developer Honda Europe NV ---------- "Captain, I cannot believe my ears!" - Spock ---------- "heba refaie" <heba_refaie@hotmail.com>@midrange.com on 04/01/2002 13:47:42 Please respond to rpg400-l@midrange.com Sent by: rpg400-l-admin@midrange.com To: RPG400-L@midrange.com cc: Subject: Never ending programs Hi All I need to write a program to act as a daemon. it should work under a certain subsystem (Qbatch for example), wait for the new recoded orders and authorize them at a predefined intervals of time. What are the possible programing techniques that can be used to achieve this objective other than writing a DB trigger program calling the authorization process. thanks in advance for your help, Heba _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.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 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.