QUICK
Taber, Phil
prta@lubrizol.com
Fri, 4 Feb 2000 10:04:03 -0500
It's been a while since I have played with this stuff, so forgive me if I
say something stupid...
In any case, how are you getting the logicals set in the detached process.
Some logicals are shared and some are not, depends which table they are set
in.
It might be easier to run Quick in a batch job in which you will have a log
file to view for sure and you can verify the environment using show commands
prior to executing quick. This could also work for QTP. You may want to
set up a unique batch queue dedicated to this and running at an elevated
priority.
Hope this helps.
-----Original Message-----
From: Kesterson, Roger
[SMTP:Roger.Kesterson%ryobiaz.com@interlockp.lubrizol.com]
Sent: Friday, February 04, 2000 9:37 AM
To: 'powerh-l@lists.swau.edu'
Subject: RE: QUICK
Hi All,
Jeff Hoffman asked for more info on what I'm trying to do, regarding
not
being able to get QUICK (PH 710G2) to run as a detached process in
OpenVMS.
We have a data collection system that will be writing data to a
mailbox on
our Alpha. I need something to read those records from the mailbox
and
write them to an indexed RMS file. I would like it to run as a
detached
process if possible so as not to clutter up a batch queue.
The DCL RUN/DETACH command apparently does not allow parameters to
be passed
to the image on the command line (like the AUTO= parameter for
QUICK, QUIZ,
QTP), or at least I couldn't find a way to do it that it liked. So
that
seemed to eliminate QTP as the image of choice. But QUICK on the
other hand
has an alternative way to pass commands and parameters, by defining
QKIN,
QKOUT, QK_TERMTYPE. So I wrote a short QUICK "screen" as follows:
SCREEN read_my_mbx
FILE my_mbx DESIGNER OPEN READ SHARE WAIT ON RECEIVE
FILE my_file DESIGNER OPEN WRITE SHARE
PROCEDURE INITIALIZE
BEGIN
WHILE RETRIEVING my_mbx
BEGIN
LET field1 OF my_file = field1 OF my_mbx
LET field2 OF my_file = field2 OF my_mbx
LET field3 OF my_file = field3 OF my_mbx
PUT my_file RESET
END
RETURN
END
I tried defining QKIN, QKOUT, and QK_TERMTYPE, and it would run fine
interactively, but apparently will not even start QUICK (at least
there is
no indication that it does, ie. no error messages) when I add
/DETACHED to
the RUN command. I get the "%RUN-S-PROC_ID, identification of
created
process is..." message, but the process does not appear to ever
actually
start running. There is nothing in the QKOUT file. I even tried
using
/OUTPUT= and /ERROR= on the RUN command to receive any error or
other
messages that might give some indication why its not working. I get
nothing.
Maybe I just need to write something in a 3GL. Any and all
suggestion or
ideas will be appreciated.
Thanks,
Roger Kesterson
Sr. Programming Analyst
Ryobi Outdoor Products, Inc.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = =
Subscribe: "subscribe powerh-l" in message body to
majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to
majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a
subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.