Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us