Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
DFSORT for KSDS file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
raghav08
Warnings : 1

New User


Joined: 03 Jun 2008
Posts: 38
Location: Bangalore

PostPosted: Tue Jul 22, 2008 1:32 pm    Post subject: DFSORT for KSDS file.
Reply with quote

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
View user's profile Send private message
References
PostPosted: Tue Jul 22, 2008 1:32 pm    Post subject: Re: DFSORT for KSDS file. Reply with quote

karthikr44

Active User


Joined: 25 Aug 2007
Posts: 158
Location: Chennai

PostPosted: Tue Jul 22, 2008 1:46 pm    Post subject: Reply to: DFSORT for KSDS file.
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 4392
Location: San Jose, CA

PostPosted: Tue Jul 22, 2008 9:38 pm    Post subject:
Reply with quote

For more information on using VSAM files with DFSORT, see:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/1.8.3.4?SHELF=&DT=20060615185603&CASE=
Back to top
View user's profile Send private message
raghav08
Warnings : 1

New User


Joined: 03 Jun 2008
Posts: 38
Location: Bangalore

PostPosted: Wed Jul 23, 2008 12:13 pm    Post subject: Reply to: DFSORT for KSDS file.
Reply with quote

Thanks,

Working fine, DFSORT working as normal for VSAM file as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1