AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Sep 02, 2008 04:56 AM
    When does purging on the fly start
    Running version 5.2.3 on Windows 2003 and just added parameteres to uxsetenv and the .def files in the EXEC directory so that purging on the fly is employed. This already works fine on 5.2.3 installations on UNIX servers with the same settings.

    Purge is set to be 3 days and this was set up yesterday. There are a lot of entries in Job Monitor (Not to be confused with Graphic Job monitor) which are a lot older than 3 days. However after a day of purging on the fly these entries are still resident.

    When does the purging on the fly process actually start? 

    Are the setting used (which work fine on UNIX) incorrect? (settings below)

    uxsetenv.bat (lines added)

       set       U_PURGE_PREFX=Y
       set        U_DYNAMIC_PURGE=Y
       set    U_RETENTION_DELAY=003:00:00

    RLGDEV.def (lines added)

    U_PURGE_PREFX           Y
    U_DYNAMIC_PURGE          Y
    U_RETENTION_DELAY     003:00:00 Y

    UNIVERSE.def (lines added)

    U_PURGE_PREFX           Y
    U_DYNAMIC_PURGE          Y
    U_RETENTION_DELAY     003:00:00 Y


  • 2.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Sep 02, 2008 06:07 AM
    Hello Silverdollar,

    the purge on the fly will only purge jobs that have been handled after the activation of the purge.

    So you need to run the uxpurge for a little while: Be aware that the parameters of the uxpurge should be set higher to the ones of the purge on the fly to avoid any side effect.

    Kenny


  • 3.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Sep 02, 2008 10:51 AM
    Is there a simple uxpurge command to purge everything older than 3 days? Not used the uxpurge command before.

    Do the variable need to be set somewhere like uxsetenv? then just run %uxexe%\uxpurge?


  • 4.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Sep 04, 2008 08:15 AM
      |   view attached
    Hello,

    the uxpurge was delivered in V500 with an Uproc called IU_PUR. As of release 5.1, the IU_PUR is not delivered, but the uxpurge still is.

    Feel free to create a IU_PUR Uproc, with the following characteristics:

    Script :

    [codebox]echo "----------------------------"
    echo "Execution of IU_PUR.000 "
    echo "----------------------------"
    echo " "
    echo "S_REPRISE    : %S_REPRISE%"
    echo "S_NUMJALON   : %S_NUMJALON%"
    echo "S_ESPEXE      : %S_ESPEXE%"
    echo "S_CODUG      : %S_CODUG%"
    echo "S_PROCEXE    : %S_PROCEXE%"
    echo "S_VEREXE     : %S_VEREXE%"
    echo "S_DATRAIT    : %S_DATRAIT%"
    echo "EXE          : %EXE%"

    echo "----------------------------"
    echo "Purge  parameters           "
    echo "----------------------------"
    echo " "
    echo "S_NBDAYS_HIST        = %S_NBDAYS_HIST%"
    echo "S_STATUS_NBDAYS_HIST = %S_STATUS_NBDAYS_HIST%"
    echo "S_STATUS_AREA_HIST   = %S_STATUS_AREA_HIST%"
    echo "S_NBDAYS_CTRL        = %S_NBDAYS_CTRL%"
    echo "S_STATUS_NBDAYS_CTRL = %S_STATUS_NBDAYS_CTRL%"
    echo "S_STATUS_AREA_CTRL   = %S_STATUS_AREA_CTRL%"
    echo "S_NBDAYS_LAUN        = %S_NBDAYS_LAUN%"
    echo "S_STATUS_NBDAYS_LAUN = %S_STATUS_NBDAYS_LAUN%"
    echo "S_STATUS_AREA_LAUN   = %S_STATUS_AREA_LAUN%"

    echo "-------------------------------------------------"
    echo "Call UXPURGE                                     "
    echo "-------------------------------------------------"
    set resexe=0
    %UXEXE%\uxpurge
    if not errorlevel 0  set resexe=1
    echo "End Call UXPURGE return code : %resexe%" 
    echo "-------------------------------------------------"
    echo "End of Uproc IU_PUR.000                        "
    echo "-------------------------------------------------"
    [/codebox]

    Variables :

    See image attached, replacing the variable value 1 by 3 or higher for the different variables.

    And launch the job once.

    Hope this helps,

    Kenny


  • 5.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Sep 09, 2008 10:32 AM
    Been a week since purge on the fly, on Windows, apparently set up however no purging taking place.  Setup meant to be the same as for UNIX. For instance there are entries in job monitor older than 3 days which are not present on the UNIX box. (don't mean identical entries just the UNIX server is purging on the fly as oldest entry in job monitor is 3 days old)

    Are the settings mentioned above (first post) correct for WIndows, they work for UNIX?


  • 6.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Sep 19, 2008 05:23 AM
    Hello Silverdollar,

    can you confirm the last line of both .def files is :

    [b]U_RETENTION_DELAY 003:00:00 Y[/b]

    If so, please change them to :

    [b]U_RETENTION_DELAY 003:00:00[/b]

    Michel


  • 7.  [Solved] Purge on the fly start - When does purging on the fly start

    Posted Dec 28, 2009 10:33 AM
    Hello,

    Issue was solved after above modification was applied and some tabs in the lines were removed (replaced by spaces).

    Michel