# # dquerymfile_tstlongdquery.txt # @group TEST @querytitle Test von langem DQUERY @querydescription testet langes DQUERY mit /show_active_action als SEQTRANS über ein result set von 30 rows, jede row macht delay über 1 Sekunde Gesamtlaufzeit daher 30 Sekunden Bei jeder row (pcallback_interval=1) wird ein Status berichtet => jede Sekunde Nach dem ersten Status (puth = 1) wird die Status-Anzeige aktiviert @input_encoding iso-8859-15 @querytype function @function seqtrans.seqtrans @title tstlongdquery abgeschlossen @sql_select select * from CCNUM limit 0,30 @puth 1 @display_options { fullname_filter_regex: "dquery_progress\.progress_status\.(?:records_to_process|current_record)" } @init.qexpression this.options.maxrecsteps = 1000000; this.pcallback_interval = 1; @toptext nochmals ausführen ~query.tsteps # # 0: # qexpression this.ppush([aux.nowstring()/1000,this.phead("step_000"),".cdata: "+aux.objTxt(this.cdata)]); # # 1: delay for 1000ms # aexpression setTimeout( function(tid) { /* this.ppush([aux.nowstring()/1000,this.phead("timeout "+tid+" expired"),""]); */ this(); }.bind(this), 1000, "tstlongdquery_1000"); # # 2: end of processing # end