View previous topic :: View next topic
|
Author |
Message |
raghav08 Currently Banned New User
Joined: 03 Jun 2008 Posts: 94 Location: Bangalore
|
|
|
|
Hi,
I have KSDS file, my requirement is to extract the records with condition -one of its fileld value (revenue) > few $$$ amount and copy it to sequential file.
Please let me know, will DFSORT supports this? like normal sequential file? |
|
Back to top |
|
|
karthikr44
Active User
Joined: 25 Aug 2007 Posts: 235 Location: Chennai
|
|
|
|
You can use VSAM file as normal sequential file with TYPE parameter.
I assumed the amount 100 and it is in (1,3)
Code: |
RECORD TYPE=F
INCLUDE COND=(1,3,ZD,GT,100)
|
Regards
R KARTHIK |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
raghav08 Currently Banned New User
Joined: 03 Jun 2008 Posts: 94 Location: Bangalore
|
|
|
|
Thanks,
Working fine, DFSORT working as normal for VSAM file as well. |
|
Back to top |
|
|
|