@echo off :: ============================================================================================================= :: :: Orsyp S.A. :: :: PROCEDURE: U_ALR_JOB :: :: OBJECT: Alarm limit customer exit :: :: This uproc is launched once the elapsed time limit of a batch execution has been reached :: :: Elapsed time limit is set by uxalrjob command. :: :: Default name is U_ALR_JOB but definition on of the U_ALR_JOB variable allow a different naming :: :: of this script. Please refers to the product documentation. :: :: :: :: Received parameters :: :: Session name (Space if execution is run out of session). :: :: Session execution number. :: :: Uproc name. :: :: Uproc execution number. :: :: Management unit. :: :: Launch number. :: :: Processing date. :: :: Seconds number of the alarm limit. :: :: :: :: ============================================================================================================= :: set SESS=%1 set NSESS=%2 set UPR=%3 set NUPR=%4 set MU=%5 set NSEQ=%6 set PDATE=%7 set Alarm=%8 echo Execution : SESS=%SESS%, NSESS=%NSESS%, UPR=%UPR%, NUPR=%NUPR%, MU=%MU%, NSEQ=%NSEQ%, PDATE=%PDATE% echo Maximum elapsed time limit %Alarm% seconds reached %UXEXE%\UXORDRE NODE=%S_NODENAME% ESP=X MU=%S_CODUG% TSK="BR_T_DU_UTILITY_STOP_SQLAGENT" LAUNCHVAR="Jobname=TestJobDU"