We need to know how to restart jobs, which have abended at certain steps.

Document ID : KB000045806
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:  

What is the proper way to restart a job at a specific step following an ABEND?

 

Answer:

The first thing you need to check is Global options

PCS main menu O Configuration Options then G Global Configuration Options

 

Press PF8 once and make sure you defined the Restart parms correctly

Example

JCL restart card retention ===> STEP

Restart comment format ===> /.

If it is correct, append the step name to the command line in the event from the Current file.

Example

 JCL

/. STEP01

// EXEC GSPDSU,SIZE=GSPDSU

PDS=MON,DIRLIST

/*

/. STEP02

// EXEC GSPDSU,SIZE=GSPDSU

PDS=VIO,DIRLIST

/*

Edit the event then add ,s=stepnn

Event Name  ===> DIRLIST               Group Name  ===> DAILY  

Description ===> ABEND STEP            Event Hold  ===> N      

Event CPUid ===> PROD                  ABND RC     ===>        

Command     ===> DIRLIST.JCL,S=STEP02                                   

 

CONSOLE COMMAND

MSG pp,DATA=&AO $RSTRT evtname STEPnn GROUP=grpname

PP is the partition where JCLSCHED runs.