IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Rexx to change a string in multiple file

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CLIST & REXX
View previous topic :: View next topic  
Author Message
MGIndaco



Joined: 10 Mar 2005
Posts: 478
Location: Milan, Italy

Posted: Tue Sep 06, 2005 10:03 pm    Post subject: Rexx to change a string in multiple file  

I think that to avoid doubt about the rexx that i coded in two different time is better post here the correct way with relative JCL:
(In this sample I change in all the file the string STEP to PROC)
JCL:
Code: //STEP020X EXEC PGM=IKJEFT01,PARM='rexxsourcename STEP PROC'
//SYSEXEC  DD DISP=SHR,DSN=name of rexx lib     
//FILELIST DD *                                       
List of PS or PDS without quotes
....
...                     
//SYSTSPRT DD SYSOUT=B                                 
//SYSTSIN  DD DUMMY                                   
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CLIST & REXX
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM