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
Solved : Purge on the fly start
Started by Silverdollar, Sep 02 2008 09:56 AM
6 replies to this topic
#1
Posted 02 September 2008 - 09:56 AM
#2
Posted 02 September 2008 - 11:06 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
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
Posted 02 September 2008 - 03:50 PM
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?
Do the variable need to be set somewhere like uxsetenv? then just run %uxexe%\uxpurge?
Edited by Silverdollar, 02 September 2008 - 03:51 PM.
#4
Posted 04 September 2008 - 01:14 PM
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 :
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
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 :
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 "-------------------------------------------------"
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
Attached Files
Edited by men, 04 September 2008 - 01:22 PM.
#5
Posted 09 September 2008 - 03:32 PM
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?
Are the settings mentioned above (first post) correct for WIndows, they work for UNIX?
#6
Posted 19 September 2008 - 10:23 AM
Hello Silverdollar,
can you confirm the last line of both .def files is :
U_RETENTION_DELAY 003:00:00 Y
If so, please change them to :
U_RETENTION_DELAY 003:00:00
Michel
can you confirm the last line of both .def files is :
U_RETENTION_DELAY 003:00:00 Y
If so, please change them to :
U_RETENTION_DELAY 003:00:00
Michel
#7
Posted 28 December 2009 - 04:32 PM
Hello,
Issue was solved after above modification was applied and some tabs in the lines were removed (replaced by spaces).
Michel
Issue was solved after above modification was applied and some tabs in the lines were removed (replaced by spaces).
Michel
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














