|
I am using this technique for FTPing EDI data. The trigger will fire on every record. What I do is have a record type and just watch for the trailer record type. Once I see that, I _submit_ a job to process the data received. The reason I submit the job is that the FTP job will lock the last record while the trigger is fired. So, by submitting the job, the FTP job will finish and my program can process the records without a record lock problem. Bradley V. Stone bvstone@taylorcorp.com > -----Original Message----- > From: Ravi [SMTP:ravi@spacestar.com] > Sent: Tuesday, September 29, 1998 3:31 PM > To: MIDRANGE-L@midrange.com > Subject: Trigger Programs & FTP > > Hello, > > Would a trigger program be invoked if data is FTP'd into a file? If > yes, > would the trigger program kick off after every record is FTP'd into > the > file? Would it be possible to kick off the trigger program only after > a > certain number of records are inserted into the file by FTP? > > > Thanks in advance. > > Ravi > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.