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




Are the layouts all the same? If so you could skip creating a new file and
instead create a view.

create view ALLSALES as (
Select * from sales05
union all
Select * from sales06
union all
Select * from sales07
union all
Select * from sales08
union all
Select * from sales09
union all
Select * from sales10
)







--

Michael Schutte
Admin Professional



Announcing Bob Evans Bob-B-Q® Road Trip! For a limited time, America's best
Bob-B-Q® tastes are all at Bob Evans! For more information, visit
www.bobevans.com/menu/seasonal.aspx



midrange-l-bounces@xxxxxxxxxxxx wrote on 06/17/2010 09:51:00 AM:

I have the need to create some yearly historical physical files of data,
SALES05, SALES06, SALES07, SALES08, SALES09, SALES10 (the numbers being
the year).
We need the data in all of these files combined into one physical file
called ALLSALES. We have created the previous years files and do not
need to recreate them, 09 and before but we will need to recreate the
current year each night. The problem is the newly recreated 10 file
being combined into the ALLSALES PF.

My questions are:
First is there an easy way to combine all of these files into one PF
besides doing the following - CLRPFM ALLSALES, CPYF SALESxx *ADD to
ALLSALES for each of the files?
Secondly is there an easy way to only add the newly added records to the
ALLSALES from the SALES10 file each night?
Thirdly is there an easy way to do all of this?

Thank you for any and all help,

Jim Rubino
Senior Programmer, Team Lead
FIKE CORPORATION (r)
704 South 10th Street
Blue Springs, Mo. 64015
In Y memory of Max -
* Direct Dial - (816) 655-4579
* Or - (816) 229-6216 Ext. 1079
* Jim.Rubino@xxxxxxxx

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.