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

Changing JOBID using REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Jul 21, 2010 1:15 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top