🎴 Flashcard Mode

JCL and Mainframe Programming Basics

Card1 / 10
Mastered0
Review0
QuestionClick to flip

use of TYPRUN=SCAN and TYPRUN=HOLD

AnswerClick to flip back
A
Scan - checks the syntax error, Hold - will hold the job if there is no error and will end with JCL error if there is syntax error
💡 Explanation:

TYPRUN=SCAN checks JCL syntax without executing the job. TYPRUN=HOLD also checks syntax but holds the job in input queue if error-free, or issues JCL error if syntax errors exist. Neither option actually holds a job with errors - SCAN just reports, HOLD only holds if syntax is valid.

Change Mode