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.

Sample JCL you need to execute SPUFI from batch JCL (job).

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?

  1. 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.
  2. 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

Databricks RSA Preparation: Top Interview Questions and Answers (2026 Guide)

Meta Description: Prepare for Databricks RSA interviews with these frequently asked questions and detailed answers covering Delta Lake, Unity Catalog, Spark, SQL, Performance Tuning, Workflows, and more.

How to Create a Subagent in Claude Code: A Step-by-Step Guide

Learn how to create custom subagents in Claude Code — from YAML frontmatter setup to tool restrictions and model selection. Step-by-step guide with examples.

Migrating from Hive Metastore to Unity Catalog in Databricks: Complete Step-by-Step Guide

Learn how to migrate from Hive Metastore to Unity Catalog in Databricks with this complete step-by-step guide covering architecture, security, governance, migration strategies, best practices, and real-world examples.

Fediverse reactions

Discover more from Srinimf

Subscribe now to keep reading and get access to the full archive.

Continue reading