View previous topic :: View next topic
|
Author |
Message |
Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
Hi,
I have a report like the following:
Code: |
-------------
Header
-------------
Month count1 count2 count3 count4
Jan,09 666 555 444 333
Feb,09 111 222 333 444
Mar,09 777 888 999 111
...
Sep,09
----------------------
Notes:
count1 means ...
count2 means ...
count3 means ...
count4 means ...
-----------------------
|
All the count numbers are stored in GDG files. The GDG limit is 12.
Then the report should keep all historical count numbers, and its length is 133 digits.
How can I create this report with DFSORT? Always merge the report with last months? Could someone can help me?
Thanks a lot! |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
Lord.of.Wind,
You need to show us a sample of couple of input files and the desired output to be able to help you. |
|
Back to top |
|
|
Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
Thank you Skolusu!
My input files are just containing count numbers, they PS files 20 digits long, such as
inputfile1: 410,148
inputfile2: 310,148
inputfile3: 210,148
inputfile4: 110,148
But NOW, I only need to generate only one month data in report. This is quite easy. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Quote: |
they PS files 20 digits long |
Do you mean 20 bytes LRECL?
then how come there are count3 and count4 in your first post you shown..
Also where is the month-year in input file?
Quote: |
But NOW, I only need to generate only one month data in report. |
Now you are confusing more...
Show us what output you are expecting for above input... |
|
Back to top |
|
|
|