View previous topic :: View next topic
|
Author |
Message |
a027412
New User
Joined: 05 Jul 2007 Posts: 40 Location: Minneapolis, MN
|
|
|
|
Hello all, My requirment is to search for a particular string in a dataset. The string might occur anywhere in between columns 1 to 100.
Is there a way to search for the string using SORT facility? |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
a027412,
You might probably want to use the SS(substring) feature.
Post a few input records and the expected output out of it. Also the RECFM/LRECL etc of both the files. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
If just a search needed ISPF 3.14 can be a choice as well. |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
a027412 wrote: |
Hello all, My requirment is to search for a particular string in a dataset. The string might occur anywhere in between columns 1 to 100.
Is there a way to search for the string using SORT facility? |
Is this string to be used as INCLUDE or OMIT criteria, or do you need to replace the string with another value? |
|
Back to top |
|
|
|