EOP Statuses
LeasePak Documentation Suite NETSOL website
End of Period Suite II

End of Period Suite II

EOP Statuses

There are 16 LeasePak EOP status codes. The following 13 statuses provide more information than we need for the purposes of monitoring EOP progress, detecting when human intervention is required, and detecting completion. Therefore, portfolio_stat and portfolio_mon recast them in the following manner:

Traditional StatusNumberEOP Suite IIClassSignificanceMonitor Will
LPEOP_POST_HALT2048103HaltedEOP has terminated abnormallySend email terminate
LPEOP_HALTED1024
LPEOP_POST_FAIL512101Failed
LPEOP_FAILED256
LPEOP_CURRENT64102RunningEOP is runningContinue to run (if pending too long, EOP has stalled, will send email. Will email again if EOP starts to run after stalling. See Stall Handling.
LPEOP_PENDING32104Pending
(stalled)
LPEOP_QUEUE_STPD16
LPEOP_HOLD8
LPEOP_AFTER4
LPEOP_PENDING_INIT2
LPEOP_HOLD_WAIT_BCK1
No status 14096105Unknown
LPEOP_SKIPPED40960DoneEOP is completeExecute END_PORT_PROC, send email, and terminate
LPEOP_COMPLETED128
Command line error201201Setupportfolio_stat has terminated abnormallyTerminate
Script error202202
XSQL error203203

How the portfolio status is derived (there will almost always be a mix of statuses present):

  • All the statuses of the portfolio’s jobs are sorted uniquely; this usually leaves a list of 2 to 4 statuses
  • Starting at the top of the above table, the list is searched for each traditional status in the table in turn from 2048 down to 1
  • When a status is found in the list, then that becomes the EOPS-II status of the entire portfolio and searching stops
  • If no status in the range 2048 to 1 is found in the list, then these steps are performed:
    • The list is searched for 4096, if found skipped is noted
    • The list is searched for 128, if found completed is noted
    • If neither skipped nor completed is noted, then the EOP Suite II status is 105, otherwise it is 0