Working with a client and when she runs the RM aging process it will sometimes take up to 2 hours (about 426 pages) - she normally runs it to pdf so I had her run it to screen and it still ran pretty slow as well - but somedays she will run it with the same number of pages it just takes a few minutes - I ran a DEX SQL LOG and I found that this process seems to be looping over and over
/* Date: 11/05/2021 Time: 9:32:12
stmt(118971272):*/
{CALL SBTST.dbo.zDP_MC020104L_1('USD','SLS061596',1,'1900.01.01',-2147483648,'USD','SLS061596',1,'9999.12.31',2147483647)}