Really, this should be it, for the passing income.
[capital-apms-progress.git] / inc / bq-do.i
blobf22ac2fb2d529ef6a6cccd7b23a1df1147fcf963
1 /****************************************************/
2 /* Filename: inc/bq-do.i */
3 /* Notes: Run process on the batch queue */
4 /* Parameters: */
5 /* 1 The full pathname of the process to run */
6 /* 2 The parameters of the process to run */
7 /* 3 "run locally" logical value */
8 /****************************************************/
10 IF {3} THEN DO:
11 RUN make-bq-entry IN sys-mgr( "{1}", {2}, ?, ? ).
12 END.
13 ELSE DO:
14 RUN notify( 'set-busy,container-source':U ).
15 RUN {1} ( {2} ).
16 RUN notify( 'set-idle,container-source':U ).
17 END.