Use the LOOP keyword to specify a LOOP problem.
If new output is being produced in the DWWPRINT file, CICS VR is not in a loop.
If CICS VR has ended, the loop is probably recursive: module A calls module B calls module A, and so on. The abend is caused by CICS VR running out of automatic storage producing user abend code 3001. Loop problems can involve many modules or a single module. Look for messages that are associated with the loop.