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
How a PySpark Job Executes: Understanding Statements, Stages, and Tasks
When you write a few lines of PySpark code, Spark executes a complex distributed workflow behind the scenes. Many data engineers know how to write PySpark, but fewer truly understand how statements become stages, stages become tasks, and tasks run on partitions. This blog demystifies the internal execution model of Spark by connecting these four…
Azure Data Factory (ADF): The Complete Beginner-Friendly Guide (2026 Edition)
Azure Data Factory (ADF) is Microsoft’s fully managed, cloud-based data integration and orchestration service. It helps you collect data from different sources, transform it at scale, and load it into your preferred analytics or storage systems. Whether you are working with Azure SQL, on-premises databases, SaaS applications, or big-data systems, ADF gives you a unified…
Complete Terraform CI/CD Pipeline Setup with GitHub Actions — Beginner to Advanced
The complete terraform setup example ci cd pipeline to create AWS resources using GitHub actions







You must be logged in to post a comment.