| Robert Jones 2007-04-09, 7:55 am |
| On Apr 9, 7:46 am, "Raya" <lakshmir...@gmail.com> wrote:
> Hi,
> I have a requirement as follows:
>
> I have a COBOL+DB2 program that inserts data into a DB2 table when an
> order is placed. Now, The same data should be inserted into the same
> table after every 7 days until a condition is met. This means I need
> to insert same data after every 7 days until the order is approved/
> denied.
>
> Any help would be highly appreciated.
>
> Thanks,
> Raya.
Hello Raya
This seems to be a batch scheduling problem, i.e. using whatever
facilities your operating system provides, schedule the program to run
as required. The simplest method of course is manual, perhaps by
written instruction to the people in your organisation responsible for
job scheduling.
You might consider redesigning your DB2 table handling so that the
relevant rows aren't deleted till the order is approved or denied.
For more help, you should tell us your operating system, hardware and
compiler, plus the version numbers of them and DB2.
Robert
|