Posted: Tue Mar 11, 2008 1:56 am Post subject: Sorting FB GDG file into FB sequential file
Hi,
I have FB GDG file of LREC 132. I want to sort it and copy it into FB sequential file using DFSORT. The GDG file contains Header for first 10 records and from 11th record data will be there. Sortin should be done as (10,5,CH,A). There is tailer of one record at end of the file. Header and tailer should not be disturbed. Output file is sequential FB file.
I need to do the same process on FBA GDG file of LREC 133. Please help me with both the cases. _________________ Thanks
Madhu Sudhan
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Tue Mar 11, 2008 5:22 am Post subject:
How do you determine header and trailer records - is it just by position or do they have special identifiers e.g. 0 and 9? _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Mar 11, 2008 3:01 pm Post subject:
So there's nothing unique about the trailer record that can be used to identify it as the trailer record? The only way you know it's the trailer record is that it's the last record? (I ask because the job you need is much easier to set up if we can identify the trailer record in some way other than it just being the last record). _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Aug 05, 2008 3:40 pm Post subject:
You can now do this kind of thing quite easily with the new DATASORT operator of DFSORT's ICETOOL available with z/OS DFSORT V1R5 PTF UK90013 (July, 2008). Here's an example:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum