Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Introducing new step in set of jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Introducing new step in set of jobs
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: 1567
Location: Andromeda Galaxy

PostPosted: Wed Oct 17, 2018 4:10 am    Post subject:
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    Post subject: Reply to: Introducing new step in set of jobs
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: 8784
Location: Welsh Wales

PostPosted: Wed Oct 17, 2018 11:33 am    Post subject:
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: 2224
Location: Hampshire, UK

PostPosted: Wed Oct 17, 2018 11:50 am    Post subject: Reply to: Introducing new step in set of jobs
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: 1647
Location: The Good Place

PostPosted: Wed Oct 17, 2018 9:32 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 2247
Location: NY,USA

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

Try with these links either one approach should work.
http://ibmmainframes.com/about38696.html
http://ibmmainframes.com/viewtopic.php?t=31003
http://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    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 proc step return code to override in ... Aaryaa JCL & VSAM 3 Tue Aug 20, 2019 4:32 pm
No new posts Having problem passing a variable to ... markzasz JCL & VSAM 12 Thu Jul 11, 2019 5:31 pm
No new posts how to synchronize jobs across LPARs ... jzhardy JCL & VSAM 7 Sun May 12, 2019 6:49 am
No new posts Any single step solution possible? Rohit Umarjikar SYNCSORT 7 Mon Apr 22, 2019 6:18 am
No new posts Single step to take backup of multipl... Vignesh Sid JCL & VSAM 1 Thu Nov 29, 2018 8:12 pm

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