Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Changing JOBID using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
saagu

New User


Joined: 15 May 2008
Posts: 41
Location: Chennai

PostPosted: Wed Jul 21, 2010 12:55 pm    Post subject: Changing JOBID using REXX
Reply with quote

Hi,
I need to modify the Job Id of the JCL using REXX....Please help me in this

My Jobcard is as below

000001//F7788DSP JOB ('FT91PCG'),TIME=(20,),NOTIFY=&SYSUID,
000002// REGION=64M,CLASS=S,

after Modification i need as below
000001//F7788DST JOB ('FT91PCG'),TIME=(20,),NOTIFY=&SYSUID,
000002// REGION=64M,CLASS=S,

change : F7788DSP to F7788DST

Regards.
Saagu
Back to top
View user's profile Send private message

bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Wed Jul 21, 2010 12:59 pm    Post subject:
Reply with quote

Hi Saagu,
I didnt completely understand your requirement.You want to change the jobname for one job only or for many members? you can use below command in command line,

Code:
 C 'F7788DSP'  'F7788DST'

Back to top
View user's profile Send private message
saagu

New User


Joined: 15 May 2008
Posts: 41
Location: Chennai

PostPosted: Wed Jul 21, 2010 1:06 pm    Post subject: Reply to: Changing JOBID using REXX
Reply with quote

Hi,
For all the members present in a job...this i need to do using REXX.
Please let me know if u need more information.

Also...Job id doesnot remain same in all the members.... I need to modify only the last character of the JOBID from P to T

Regards,
Saagu
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 21, 2010 1:15 pm    Post subject:
Reply with quote

PLease search the forum as this has been discussed many times.

The search button is at the top of any page and is free to use. Please feel free to post your problems when you encounter them.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts BI,TO=ZD Changing Values Tyler Dunbar DFSORT/ICETOOL 4 Tue Jul 25, 2017 12:12 am
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us