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

Introducing new step in set of jobs


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ravikumar15

New User


Joined: 27 Mar 2006
Posts: 66

PostPosted: Wed Oct 17, 2018 2:22 am
Reply with quote

Hi,

I want to introduce a new step in set of jobs in a PDS. The new step will be in the middle of the job. It will be executing a same utility/program but with few parameter changes, which I can subsitute through a symbolic parameter.

Please let me know if this is possible using CLIST/REXX.

Thanks in advance.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1565
Location: Andromeda Galaxy

PostPosted: Wed Oct 17, 2018 4:10 am
Reply with quote

It should be possible if you can identify after what step you are going to put your new code. It could be tricky if your shop has bad standards.

Can I know the count of jobs you are trying to modify?
Back to top
View user's profile Send private message
ravikumar15

New User


Joined: 27 Mar 2006
Posts: 66

PostPosted: Wed Oct 17, 2018 7:35 am
Reply with quote

Its around 150 jobs
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8794
Location: Welsh Wales

PostPosted: Wed Oct 17, 2018 11:33 am
Reply with quote

Yes, it is possible using REXX (or CLIST if you want the extra pain)

All you need to do is to work out the logic of WHERE to insert the additional code.

I would recommend reading the existing PDS and creating a new one with the updated code to check results.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2453
Location: Hampshire, UK

PostPosted: Wed Oct 17, 2018 11:50 am
Reply with quote

And, no. We will not provide you with the logic or code. We will assist in the debugging once you have tried debugging with various trace options.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1689
Location: Tiruppur, India

PostPosted: Wed Oct 17, 2018 9:32 pm
Reply with quote

If you have ASG-Jobscan then it could do this mass change without causing JCL-errors. By any chance do you have it?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2572
Location: NYC,USA

PostPosted: Thu Oct 18, 2018 12:51 am
Reply with quote

Try with these links either one approach should work.
ibmmainframes.com/about38696.html
ibmmainframes.com/viewtopic.php?t=31003
www.ibmmainframeforum.com/tso-ispf/topic2661.html
Edit macro commands and assignment statements
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 Execute step regardless of previous s... JCL & VSAM 2
No new posts List of Active Jobs in CTRL-M JCL & VSAM 1
No new posts Add a step counter in a stack ? CLIST & REXX 23
No new posts Please help - SORT with SUM fields an... DFSORT/ICETOOL 6
No new posts Conditional step execution based on P... JCL & VSAM 9
Search our Forums:

Back to Top