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



Thank you all for all of your replies and suggestions. Here is what they are doing with the files at the moment:
This is creating somewhat of a one stop shopping file for the casual query users. This file has the sales order detail information combined with the segment information from a couple of files. It also converts all of the amounts into U.S. Dollars. (There is another one for converting amounts into EUROS).
The query also picks up the various dates for them to audit the movement against. (Entry Date, CR Date, Ack Date, WO Completion, Ship Confirmation, etc.)

The multiple years are to do year to year comparisons.

The reason for m asking and wanting to do something else is because it takes so long to build the file now (which is all of the years into one, it gets recreated each night). I want them to create individual history years that would only need to created once. The current year would get recreated nightly. Then I want to combine all of these files into one file for them.

A little more into what they are doing and what I am hoping to do to free up some processing time at night.
Thank you again everyone,
Jim


-----Original Message-----
From: Charles Wilt [mailto:charles.wilt@xxxxxxxxx]
Sent: Thursday, June 17, 2010 9:27 AM
To: Midrange Systems Technical Discussion
Subject: Re: Creating files and then combining them into one PF

How are ALLSALES and SALES10 used?

Having the data duplicated into separate physical files seems pretty
silly to me.

Personally, I'd have all the data in ALLSALES, perhaps using multiple
members*, then create SALES10, SALES09 as logicals over the one
physical.

*note: I'd only have ALLSALES as multiple member if I had the DB2
Multisystem part of the OS installed and could create the ALLSALES
table as an SQL partitioned table.

HTH,
Charles

On Thu, Jun 17, 2010 at 9:51 AM, Rubino, Jim <Jim.Rubino@xxxxxxxx> wrote:
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 ...

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.