|
|
| Author |
Message |
raghav08 Warnings : 1 New User
Joined: 03 Jun 2008 Posts: 40 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 |
|
 |
References
|
|
 |
karthikr44
Active User
Joined: 25 Aug 2007 Posts: 172 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 Moderator
Joined: 15 Feb 2005 Posts: 4607 Location: San Jose, CA
|
|
| Back to top |
|
 |
raghav08 Warnings : 1 New User
Joined: 03 Jun 2008 Posts: 40 Location: Bangalore
|
|
|
|
Thanks,
Working fine, DFSORT working as normal for VSAM file as well. |
|
| Back to top |
|
 |
|
|