|
I was referring to a method to signal a never ending program (NEP) to wake up, rather than have it do a DLYJOB. This is can be done very easily with a data queue or message queue, even in a C/L program. If you need to pass data to a NEP then it's a matter of preference, although I have never had any problems with using a data queue. It seems like there would be a lot less overhead, since there is no record locking or access path maintenance to worry about. > ---------- > From: Frank Kolmann[SMTP:fkolmann@netscape.net] > Sent: Friday, October 01, 1999 9:02 AM > To: RPG400-L@midrange.com > Subject: Re: [RE: Whats the best way to run a CL every 30 min] > > "York, Albert" <albert.york@nissan-usa.com> wrote: > > I prefer waiting on a data queue rather than using DLYJOB. That way you > can > > get to job to process any time by sending something to the data queue. > You > > can also have the job end gracefully by sending a special command to the > > data queue. It adds flexibility to your job. > > > > > I have used data and message queues, and dont like them at all. > I prefer to use a keyed DB file. You can also put in a priority field in > the > key so that some requests can hop to the top of the queue. > The trick is to use OVRDBF EOFDLY(30). > > ____________________________________________________________________ > Get your own FREE, personal Netscape WebMail account today at > http://webmail.netscape.com. > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.