Running Quick IN BATCH MODE
Vissers, Wilbert
wilbert.vissers@hp.com
Mon, 8 Mar 2004 10:02:04 +1300
Hi John, RE: I need to run a Quick screen interactively prompting from within a Jobstream that calls a UDC.
We're running on an HP3000. We use a UDC we've called QUICKBATCH which (1) does a file equate FILE QKGO=<thequickscreen> and (2) runs quick. The quick screen's designer code then is written starting in the INITIALIZE procedure, its parameters are provided via files which have been set up prior, and has an EXIT coded. There is an extra safety measure in a file called QKEXIT which has 4 lines of ^ to be sure the code exits. The full UDC is:
QUICKBATCH FILE,VERS=PH819c4,INFO=" "
FILE QKGO=!FILE
SETPOWERHOUSE !VERS
RUN QUICK.!VERS.COGNOS;UNSAT=TERMINATE;STDIN=QKEXIT;INFO=!INFO
RESET QKGO
RESETPOWERHOUSE
We have the following example running in jobs, it is a quick screen which does a standard check which we call from a number of places both on-line and in batch:
:QUICKBATCH AREK100
It works nicely and in this case saved us from writing a version of the same thing in QTP as well as Quick.
all the best
Wilbert