View previous topic :: View next topic
|
Author |
Message |
pratiksha Warnings : 1 New User
Joined: 10 Feb 2006 Posts: 10 Location: Bangalore
|
|
|
|
Hi,
I have a requirement as follows. I need to do this using SYNCSORT.
The input for sort is the GDG base. Each generation is as follows.
File1
Code:
UHDR20101101
ZZZZ00001
BBBB00002
ZZZZ00001
UTRL000005
File2
Code:
UHDR20101102
ZZZZ00001
AAAA00002
UTRL000004
The expected output is as follows.
Code:
UHDR20101101
BBBB00002
ZZZZ00001
UTRL000005
UHDR20101102
AAAA00002
ZZZZ00001
UTRL000004
The keypoints to attain this particular output file are
1. The trailer and header should not be affected.
2. The duplicate records found within that particular header and trailer only should be removed. If the same record is found in another file, it should not be disturbed.
3. sort the records within that particular header and trailer in increasing order. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When posting a Syncsort question, it is best to mention Syncsort as the first part of the subject. Your subject/title has been modified.
It looks like this topic fell into a crack. . .
See if this previous topic might help:
ibmmainframes.com/viewtopic.php?t=51354
d |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
|