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: 208
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. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


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