IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find a String in any position with Dfsort


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Joseto

New User


Joined: 21 Sep 2006
Posts: 1
Location: vizcaya

PostPosted: Thu Sep 21, 2006 4:24 pm
Reply with quote

I have to find a String of 3 Characteres in any position of the record (121 FB), and i don't if it's posible do it with DFsort??

icon_question.gif icon_question.gif
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Sep 21, 2006 5:16 pm
Reply with quote

search for SS (Substring Search)
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Sep 21, 2006 9:39 pm
Reply with quote

Quote:
Find a String in any position with Dfsort


and then do what?

If you need to include or omit records with the string, you can use DFSORT's INCLUDE or OMIT with the SS function. For example:

Code:

   INCLUDE COND=(1,121,SS,EQ,C'abc')


If you want to do something else, you need to explain what you want to do.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top