Skip to Content

Wipro Mainframe: What is the JES2 Command to Restart Currently Executing Job?

Learn the correct JES2 command to restart a job that is currently executing in z/OS. Find out why $E jobname is the right syntax to use.

Table of Contents

Question

JES2 command to restart a currently executing job?

A. $A jobname
B. $R jobname
C. $E jobname
D. $S jobname

Answer

The correct JES2 command to restart a currently executing job is:

C. $E jobname

Explanation

The $E command tells JES2 to restart execution of the specified job. Some key things to know about the $E command:

  • It can only be used on jobs that are currently executing. You cannot use $E to restart a job that has already finished executing or is waiting to execute.
  • The full syntax is $E jobname, where jobname is the name of the job you want to restart.
  • $E causes execution to be suspended, the job is returned to the top of the execution queue, and execution is restarted from the beginning of the job.
  • Any data sets created during the previous execution are deleted before the restart.

The other command options listed are incorrect:

  • $A is used to release a job from hold status
  • $R is used to route a job for execution
  • $S is used to start a job that was previously initiated

So in summary, to restart a z/OS job that is currently running, the proper JES2 command to use is $E followed by the job name. This will stop and requeue the job to run again from the beginning.

Wipro Mainframe MySkillz Trendnxt certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Wipro Mainframe MySkillz Trendnxt exam and earn Wipro Mainframe MySkillz Trendnxt certification.