Tuesday, January 21, 2014

Stopping JES2

To stop JES2

$PJES2

If $Pjes2 not working then we can use ABEND or TERM commands as follows.

 Note :
  If JES2 is processing any jobs or any devices are active then we cannot remove JES without ABEND or TERM command.In some cases active RJE and NJE lines also prevents JES2 to stop and in such scenario JES2 processing will stop whereas JES2 display commands will work.JES2 will be dormant.

$pjes2,abend

Jes2 terminates immediately killing all system activity,except in one scenario where any checkpoint resides on coupling facility processing a write request.In such scenario $HASP552 and delays executing ABEND command until the checkpoint completes.

If ABEND not working we have to use FORCE.

$PJES2,ABEND,FORCE

Command will pull Recovery Termination Manager(RTM) to immedietely terminate the JES2 address space.

$PJES2,QUICK

    Jes2 attempts to withdraw completely,regardless of any cross-system activity.


$PJES2,TERM

Jes2 terminates but does not terminate active devices and programs.Jes2 hot start will not be possible,need to clear address space before bringing down MVS. This command requires system authority.

No comments:

Post a Comment