How to control ESP during a Disaster Recovery test?

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

This is one way to start ESP having all scheduled events in the HOLD status, and still be able to trigger the events manually

Please do the following:

  1. Start ESP with 'parm=quiesce' to prevent any scheduled Events from triggering.

  2. Run the following ESP batch job to "HOLD" each scheduled Events:
        //ESPBTCH JOB you.job.card    //ESPB EXEC PGM=ESP,PARM='SUBSYS(your.subsystem.name)',REGION=4000K    //STEPLIB DD DSN=your.prefix.SSCPLINK,DISP=SHR    //SYSPRINT DD SYSOUT=*,DCB=(RECFM=FB,BLKSIZE=3120,LRECL=80)    //SYSIN DD *    REXXON    X = TRAPOUT('LINE.')    ADDRESS ESP "LISTSCH DATE"    X = TRAPOUT('OFF')    DO I=1 TO LINE.0    EVNAME = WORD(LINE.I,WORDS(LINE.I))    ADDRESS ESP "HOLD" EVNAME /* change HOLD to RELEASE, when roll back */    END    REXXOFF
  3. From page mode, issue the RESTART command to get ESP out of quiesce mode.

    Now trigger any desired Event - manually.

NOTE To release all of the held events you can run the same job above with parameter 'RELEASE' in the marked line

Disaster Recovery has many meanings, Cybermation advises all customers to evaluate thier needs prior to testing. There is no one-size-fits-all answer to meet all DRP needs

This Frequently Asked Question applies to all supported releases of ESP Workload Manager.