Output should combine all the data of input GDG



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Output should combine all the data of input GDG

Postby gauthamnagpur18 » Fri Jun 29, 2012 11:45 am

Hi ,

I got one requirement . Input is GDG and output should combine all the generation's data.

Is it possible through DFSORT/ICETOOL?

Thanks,
Gautham :D
gauthamnagpur18
 
Posts: 93
Joined: Sat Oct 23, 2010 1:28 pm
Location: Chennai, India
Has thanked: 3 times
Been thanked: 3 times

Re: Output should combine all the data of input GDG

Postby NicC » Fri Jun 29, 2012 12:29 pm

It is possible through any copy program. What is your problem? Read up about GDGs. There is nothing special about them apart from their naming convention which allows you, in this case, to provide a shortcut to specifying the dataset names to be used.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Output should combine all the data of input GDG

Postby dick scherrer » Fri Jun 29, 2012 7:24 pm

Hello,

Do you have this running yet?

Is it possible through DFSORT/ICETOOL?
Yes, just mention the GDG base in the SORTIN DD statement.

As Nic mentioned, you should read about GDG processing so you will have a better understanding of how these might be used.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Output should combine all the data of input GDG

Postby skolusu » Fri Jun 29, 2012 11:03 pm

gauthamnagpur18,

As others mentioned you can just give the GDG base name and it will copy all the generations associated with it. However there is a caveat. If you copy GDG generations using the base name, the records are copied in last in, first out order (LIFO). If you have 5 generations, the records of the fifth generation will appear first, followed by the records of the fourth generation and so on. If instead, you want the records copied in first in, first out order (FIFO), so that the records of the first generation will appear first, followed by the records of the second generation and so on, you can use the smart DFSORT trick " Copy GDG records in first in, first out order" which is shown here

http://www.ibm.com/support/docview.wss? ... g3T7000094
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
skolusu
 
Posts: 586
Joined: Wed Apr 02, 2008 10:38 pm
Has thanked: 0 time
Been thanked: 39 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post