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


  • Subject: Re: Trigger Program
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Mon, 27 Dec 1999 15:09:02 -0800

Hi Gade,

Sounds like you could either have your trigger program load up a file to be
printed at the end of day, or forget the trigger program and use
journalling, i.e. journal the file and at the end of the day do a DSPJRN for
the day to an outfile and use that as the basis for your report.

hth
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax

----- Original Message -----
From: <Gade_R_Reddy@consecofinance.com>
To: <RPG400-L@midrange.com>
Sent: Monday, December 27, 1999 2:18 PM
Subject: RE: Trigger Program


>
> Hey Guys, another question about trigger program.
>
> The trigger program is executed everytime for every single record ( if i
> had a trigger on Insert for instance ).
>
> Is there any way i can just run the program once after all the inserts are
> done to the file???.
>
> In my case, i dumping the data from the Web to AS400 file. I want a report
> that can produce all the new records added to the AS400 File at the end of
> the day automatically.
>
> Hope i did't confuse much.
>
> Thanks.
> Gade.
>
>
>
>
>
>
> Gade_R_Reddy@consecofinance.com@midrange.com on 12/27/99 03:52:03 PM
>
> Please respond to RPG400-L@midrange.com
>
> Sent by:  owner-rpg400-l@midrange.com
>
>
> To:   RPG400-L@midrange.com
> cc:
> Subject:  RE: Trigger Program
>
>
>
> Thanks Guys, Its working good..
>
> Gade.
>
>
>
>
>
> "Mark A. Manske" <manske@pconline.com>@midrange.com on 12/27/99 03:14:59
PM
>
> Please respond to RPG400-L@midrange.com
>
> Sent by:  owner-rpg400-l@midrange.com
>
>
> To:   <RPG400-L@midrange.com>
> cc:
> Subject:  RE: Trigger Program
>
>
> The easiest way to create a copy of the test file that it currently is
> "built" over.  add the trigger to the test file(addpftrg), start your
> debug,
> but do not call the pgm, use dfu, or dbu to add/change a record
> interactively, and then your trigger will be running and breaking for you.
> Granted, this worked really slick for me on an ILE trigger program, I have
> not tried this method using older coding techniques.  Don't forget to
> remove
> the trigger from your test file (rmvpftrg). Hope this helps
>
>
> -----Original Message-----
> From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
> Behalf Of Gade_R_Reddy@consecofinance.com
> Sent: Monday, December 27, 1999 2:00 PM
> To: RPG400-L@midrange.com
> Subject: Trigger Program
>
>
>
> Please let me know how do we debug a Trigger program??.
>
> Thanks.
> Gade.
>
>
>
> +---
> | 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
> +---
>
>
>
> +---
> | 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
> +---


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.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 thread ...

Replies:

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.