How can I cancel time and date settings without stopping Date Simulator.

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

Description

The CLEAR command can be used to cancel SETs. This document describes the ways CLEAR can be used.

Solution

  • ISPF, Job List

    Run the Date Simulator ISPF Dialog to display the Job List screen.
    Enter a "C" in the CLEAR/SHOW (C/S) column and hit Enter.

    This will stop Date Simulator from warping jobs that fit that particular set of criteria. The word "CLEARED" will appear on that line in the list. If you refresh the screen, that entry will be removed.

    "C" clears a single entry. Multiple entries can be cleared at once by placing a "C" on multiple lines, then hitting Enter.


  • WARPPARM

    CLEAR is one of the three control cards (SET, CLEAR, SHOW) recognized by CA Date Simulator. It instructs CA Date Simulator to stop warping the date and time for a single job, all jobs of a particular type, or all jobs.
  1. Clear a single job


CLEAR TSO MYNAME
When removing CA Date Simulator's control over a particular SET, the CLEAR must name the same criteria used by the SET. So if a SET was entered using only a job name, the clear would be CLEAR TSO MYNAME where MYNAME is the job name, in this case a TSO session.

CLEAR JOB MYJOB1 USERID USERONE JOBCLASS X
To clear a single batch job for which USERID or JOBCLASS was specified, the same user ID or job class must be specified in the CLEAR command. In this example, both USERID and JOBCLASS were SET for this batch job, so the CLEAR must also name USERID and JOBCLASS.

  • Clear all jobs of a particular type:


CLEAR ALL STC
Use CLEAR ALL and the job type. This will clear control over every setting for that type regardless of any other criteria. A job type may be a JOB (batch job), STC (started task), TSO (TSO session), IMS (IMS user), or DB2 (DB/2 DDF user).

  • Clear all jobs


CLEAR ALL
All date and time warping is eliminated.

Notes:

Running the ISPF Dialog:
See the CA Date Simulator User Guide topic "Access the CA Date Simulator Controller Dialog."

Running WARPPARM:
See the CA Date Simulator User Guide topic "Submit a Batch Job."