Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Search for a string at a specific location in a GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
geek_mohit

New User


Joined: 19 May 2006
Posts: 23

PostPosted: Fri May 08, 2015 11:13 pm    Post subject: Search for a string at a specific location in a GDG
Reply with quote

Hi,

I need to find a string at a particular location in a GDG, some of the generations of the GDG have been migrated and the SRCHFOR utility does not really work for the migrated GDG generations and am also not able to mention the position in the file where am looking for the serach string.

I have serached the forum for this but could not really find anything.

Would I be able to get a list of all files in which the string exists at that "specific localtion" somehow.
Back to top
View user's profile Send private message

Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri May 08, 2015 11:33 pm    Post subject:
Reply with quote

I know of no way without first recalling the migrated generations.
Back to top
View user's profile Send private message
geek_mohit

New User


Joined: 19 May 2006
Posts: 23

PostPosted: Sat May 09, 2015 11:04 pm    Post subject:
Reply with quote

Would it be possible for me to extract all records from all gnerations of a GDG with certain characters at a specific location in all the generations through some sort utility...??
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1522
Location: Chennai

PostPosted: Sun May 10, 2015 7:23 pm    Post subject:
Reply with quote

Yes ofcourse, just use the GDG base as input.
That way all the generations would be read from oldest to the newest.

Then use a sort step with an INCLUDE condition
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us