Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change string & submit without edit with clist or macro

Status
Not open for further replies.

ivviva

Technical User
Aug 20, 2003
12
0
0
IT
Hi,
i want create a clist or macro for change 2 string in a ds(sequential or member of pds)and submit it without enter in edit. the string that I change are my parameters.
ex : myclist param1 param2
thanks ivana
 
OK....

Read the text into the queue (or stem) with EXECIO.
For each line
Code:
do forever  
   pt = Pos(param1,line)
   if pt = 0 then leave 
   parse var line front (param1) back
   line = front || param2 || back
end


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top