antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
Hi,
Can I use DFSORT for this?
I have a file as below: A set of records with types A, B, C, D repeats. and A record has key field.
Code: |
A 101
B B1
C C1
D D1
A 102
B B2
C C2
D D2
A 101
B B3
C C3
D D3
A 102
B B4
C C4
D D4 |
I need to write only those set of records whose A rec has key field as 101 into output file..
i.e. I need to write A, B, C, D records only if A record has 101 in key field.
My output for the above file should look like:
Code: |
A 101
B B1
C C1
D D1
A 101
B B3
C C3
D D3 |
Is this possible with DFSORT? |
|