Queries on Background Queues

Chris Kelleher

Administrator
Staff member
Can anyone tell me how, if possible, to place a custom query on a
background queue?

Lee Timar
SysAdmin
Race Face Components
 

Chris Kelleher

Administrator
Staff member
yup.

<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
/*nightly*/

def var x-name like batchrpt.prog-name no-undo.
def var t as char format "x(20)" no-undo.

t = "NIGHTLY 1.1".

display
x-name no-label
with frame main title t centered.

set
x-name
with frame main.

create batchrpt.
assign
prog-name = x-name
prog-parm = ""
user-num = 29
que = "main"
batchrpt.stat = "Q"
req-date = today + 1
req-time = 36000
req-freq = "W"
rank = 1
init-date = today + 1
dest-type = ""
destination = ""
append-file = no
rpt-name = ""
.
[/code]

darrin
 
Top