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: 210
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


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