Posted: Tue Nov 25, 2008 12:02 pm Post subject: Want to delete extra headers from the file.
Hi All,
I am generating a final report by concatinating different reports. While concatinating i want to remove extra headers
Data in file
Code:
Name ID
---------- -----------
Siva 1234G56
Malli 1234VFS
Nishant 23456TF
Name ID
---------- -----------
Rama 1234333
Aizaz 1234VFS
Name ID
---------- -----------
Giri 1234444
Naveen 1234VZS
I want the final file like this
Code:
Name ID
---------- -----------
Siva 1234G56
Malli 1234VFS
Nishant 23456TF
Rama 1234333
Aizaz 1234VFS
Giri 1234444
Naveen 1234VZS
Thanks for above jcl that work fine for only when there are three headers in the file what about the if we don't know the no of headers present in the file.
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Tue Nov 25, 2008 1:44 pm Post subject:
sivafdms wrote:
Hi Kolusu,
Thanks for above jcl that work fine for only when there are three headers in the file what about the if we don't know the no of headers present in the file.
Thanks,
Siva
*Sigh* did you even run the job with more headers and see if the job did not give you the desired results? Trust me the job works FINE with any number of headers
_________________ 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
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