View previous topic :: View next topic
|
Author |
Message |
meen
New User
Joined: 23 Jun 2008 Posts: 15 Location: bangalore
|
|
|
|
Hi
I have a KSDS file. I want to search this File based on some criteria and the records that fulfill the criteria should be written to a flat file.
Can you help me on this? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Your SORT product will do this for you.
Please search the DFSORT & JCL forums for numerous examples. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
not the way the question is posed
You can use Your sort product ( dfsort or syncsort )
there are lots of samples around using the INCLUDE/OMIT sort facility
search the forums using for example "VSAM KSDS SORT" checking the box search for all terms |
|
Back to top |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
You can use FILEAID or SORT utilities for this.If you want to do it in online mode then i think FILEAID will be the useful option.For batch you can give INCLUDE COND and criterias in sort card to filter the records. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
bipinpeter,
ONLINE mode refers to something like CICS.
what you mean is FOREGROUND - interactively in a TSO Session
as apposed to BACKGROUND - meaning batch. |
|
Back to top |
|
|
|