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



Date stamp idea works.

Simplest method is a flag.

Blank or N = not-processed
P = in-process
Y = processed

Update set flag = P where flag = N

Select where flag = P (using CPYF, OPNQRYF, RPG, SQL, etc)

Update set flag = Y where flag = P



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John McKee
Sent: Wednesday, May 30, 2012 11:01 AM
To: Midrange Systems Technical Discussion
Subject: Add records and update records

We have a process that locates records meeting specified criteria.
Data is written to a file and sent to a vendor. Hours later, same
process is run again, but only new or updated records are sent.
Vendor now wants the second process run multiple times throughout the
day.

I know I can write a program to add new records and update existing
records in the morning file. Can CPYF do this? Is there a "better"
way to accomplish this?

Vendors want results yesterday, so it seems.



Thanks

John McKee

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.