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

Replace characters of Jobcard using REXX

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
Prasanya



Joined: 04 Jun 2007
Posts: 7
Location: Chennai

Posted: Tue Jul 01, 2008 2:57 pm    Post subject: Replace characters of Jobcard using REXX  

HI,

I need to replace only the first 3 characters of my jobcard with a particular value for all jobs in a PDS. How can i do this using rexx?
Back to top  
superk



Joined: 26 Apr 2004
Posts: 3173
Location: Charlotte,NC USA

Posted: Tue Jul 01, 2008 2:59 pm    Post subject: Reply to: Replace characters of Jobcard using REXX  

This previous topic should give you what you need.
Back to top  
Pedro



Joined: 01 Sep 2006
Posts: 399
Location: work

Posted: Tue Jul 01, 2008 10:01 pm    Post subject: Reply to: Replace characters of Jobcard using REXX  

1. you need a program that gets names of each member of a pds. I think there are examples in this forum.

2. For each member name, invoke the editor with an 'initial macro'

3. in your editor macro, make your change, then save and exit.
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
Related Links