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

how to find a string in a file and change it.


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mani_shankh

New User


Joined: 27 Apr 2005
Posts: 2
Location: new delhi

PostPosted: Tue Apr 04, 2006 12:00 pm
Reply with quote

hi all,

i am having a member in a PDS. i have to search for a particular string say..... HOW RU..... Now if the string is found then i have to execute one set of instructions and if not found then another set of instructions.
Back to top
View user's profile Send private message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 174
Location: Bangalore

PostPosted: Wed Apr 05, 2006 1:28 pm
Reply with quote

Hi Mani,

If you want to change the string into something go for the fileaid.
There is the option for search/update.

Thanks
Shri
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Wed Apr 05, 2006 2:27 pm
Reply with quote

hy mani_shankh,

you can write an ispf edit-macro with all the commands you need
and you know from editing...

martin9
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
No new posts Sort card to know that creation date ... DFSORT/ICETOOL 10
No new posts Convert CSV to flat file. DFSORT/ICETOOL 6
Search our Forums:


Back to Top