Jochen0911
New Member
Hello,
Progress 11.7. Windows Server.
Perhaps the concept is wrong. Don't know. I have a Queue and a permanent Job, that's running on the Queue.
In my Job Procedure i have a never ending repeat block.
	
	
	
		
later i have some calls
run procedure 1 ... 2 .. 3
In the procedures are something like
	
	
	
		
Later i'am searching for some tables exclusive. In a Log i write the transaction status. It seems like ok. Every time on the beginning of the for each it logs 'no' on that place.
After a while i get database warnings like in headline. After one day, it es extreme big and the Windows Progress process will have about 7 GB RAM.
Is there a way to commit all open transactions or (shared) locks and start the repeat again?
I hope the rudimentary information is enough for now.
Thank you,
Jochen
				
			Progress 11.7. Windows Server.
Perhaps the concept is wrong. Don't know. I have a Queue and a permanent Job, that's running on the Queue.
In my Job Procedure i have a never ending repeat block.
		Code:
	
	  Verarbeitung: repeat on error  undo, throw
                       on endkey undo, leave
                       on stop   undo, leave:run procedure 1 ... 2 .. 3
In the procedures are something like
		Code:
	
	  Main:
  do on error  undo Main, leave Main
     on endkey undo Main, leave Main:
    for each table no-lock
      on error undo Verbuchen, retry Verbuchen
      on endkey undo, leave
      on stop   undo, leave:
      if retry then do:
        ylvr_rowid = rowid(table).
        
        run yip_schreibe_retry_fehler (c_Fehlertext,ylvr_rowid).
        c_Fehlertext             = '':U.
        next verbuchen.
      end. /* retry */
      TRANS1:
      do  transaction
          on error undo Verbuchen, retry Verbuchen
          on endkey undo, leave
          on stop   undo, leave:
  {adm/template/incl/dt_log00.if &LogMsg = "substitute('{&LINE-NUMBER} - Transaktion: &1':U,transaction)"}After a while i get database warnings like in headline. After one day, it es extreme big and the Windows Progress process will have about 7 GB RAM.
Is there a way to commit all open transactions or (shared) locks and start the repeat again?
I hope the rudimentary information is enough for now.
Thank you,
Jochen
			
				Last edited by a moderator: 
			
		
	
								
								
									
	
								
							
							 
	 
 
		 
 
		