I shared two different methods to execute(run) only one step in a Job. For example, you have a JCL with 10 steps and you want to execute only one step. Then, to do this just follow the below two ideas.

Do you want to know Batch SPUFI?
How to Execute SPUFI from JCL
Sample JCL you need to execute SPUFI from batch JCL (job).
Here, I want to execute only step 5. How can I do it?
- One way is to use RESTART from STEP05. But the problem is it tries to execute subsequent steps. Insert the null statement after STEP05 to prevent the execution of subsequent steps.
- But one decent way is you don’t need to touch the code in job steps, just alter only Job card. In the JOB CARD use the COND parameter. When the Job is executed, only the Step mentioned in the RESTART parameter will get executed. e.g., RESTART=STEP05, COND= (0, LE)
Recent Posts
The End-to-End AI Stack – A Real Guide for Developers to Code, Create, and Execute
Learn how modern AI tools like ChatGPT, NotebookLM, and Antigravity fit into the AI stack. Discover the 5-layer AI capability model and how to choose the right AI tools for thinking, creating, building, and automat
FAANG-Style SQL Interview Traps (And How to Avoid Them)
SQL interviews at FAANG (Facebook/Meta, Amazon, Apple, Netflix, Google) are not about syntax. They are designed to test logical thinking, edge cases, execution order, and data correctness at scale. Many strong candidates fail—not because they don’t know SQL, but because they fall into subtle traps. In this blog, we’ll walk through real FAANG-style SQL traps,…
Common Databricks Pipeline Errors, How to Fix Them, and Where to Optimize
Introduction Databricks has become a premier platform for data engineering, especially with its robust integration of Apache Spark and Delta Lake. However, even experienced data engineers encounter challenges when building and maintaining pipelines. In this blog post, we’ll explore common Databricks pipeline errors, provide practical fixes, and discuss performance optimization strategies to ensure your data…







You must be logged in to post a comment.