Delete event waits command

Stijn VerbauwhedeStijn Verbauwhede Posts: 131 Journeyman ✭✭✭
Is there a possibility to delete the event waits of only the day before ?


$UXEXE/uxlst CTL SIM UPR=* STATUS=W MU=xx
echo
echo
echo
$UXEXE/uxpur CTL SIM UPR=* STATUS=W MU=xx
set resexe=0

Answers

  • Bobby TamayoBobby Tamayo Team Automic Posts: 199 Specialist ✭✭✭✭
    Hi @Stijn Verbauwhede

    You can use the parameters Before and After as shown below:

    uxpur CTL
    [NODE]=       format:64c       default:S_NOEUD or S_NODENAME
    [EXP | SIM | INT | APP]        default:S_ESPEXE
    [TSK]=        format:64c *
    [SES]=        format:64c *
    [VSES]=       format:3n  *
    [NSESS]=      format:7n  *
    UPR=          format:64c *
    [VUPR]=       format:3n  *
    [NUPR]=       format:7n  *
    MU=           format:64c *
    [SINCE]=(U_FMT_DATE,hhmm)
    [BEFORE]=(U_FMT_DATE,hhmm)
    [STATUS]=S | P | E | F | T | A | *
    [OUTPUT]=file_name



    Thanks
    Bob
  • Stijn VerbauwhedeStijn Verbauwhede Posts: 131 Journeyman ✭✭✭
    I know the variables since and before, but is there a variable like example -1 day or day before ?
  • Jean-Yves RobertJean-Yves Robert Professional Services SingaporeTeam Automic Posts: 72 Journeyman ✭✭✭
    You can use uxdat if running from a script in $U.
    $dayBefore=`$UNI_DIR_EXEC/uxdat ${U_FMT_DATE} "-1d"`
Sign In or Register to comment.