The only error I was able to trace through is DM12149. Remaining all of them are looking to me as a cascaded issues. Could you please try the below resolution from the Error manual:
From Error manual: If executing Batch single-step mode processing, check to see if the rule BatchingByRecipINI or BatchByPageCount exists in the AFGJOB.JDT.
I'm sorry that I may not be correct with this suggestion but thought of just giving a try to help with this problem.
This is your key error: DM10075: Error in RULArchive(): Unable to DBAllocateStructMemory().
This tells me you are attempting to use the Archive rule, but for some reason the system can't allocate the required record structure. The most likely cause in this case is that you have not included the necessary InitArchive rule in the Base level rules (those about the transaction rules) in the AFGJOB.
The InitArchive rule will load the necessary DFD that defines the archive database structure. If there had been an error in locating or loading the DFD, there would have been other errors before this one, so that is why I'm guessing you are missing the InitArchive rule.