Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Using Cobol - Inserting same data into a DB2 table every every week/until a condition is met
> 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.

This is apparently some kind of 'holding' area for new orders, where they
are reviewed prior to acceptance.

Wouldn't it be a lot simpler to just store a "date entered" in this table
and run a batch program every day to find those which are more than 'x' days
old and then do something with those which are?  (You may need to add some
kind of 'counter' or 'last reminder date'  column, too). Not to mention, if
seven (7) days doesn't work out as a good number, changing it to some other
number of days will be a lot more straightforward to accomplish.


MCM




Report this thread to moderator Post Follow-up to this message
Old Post
Michael Mattias
04-09-07 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:30 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.