QUICK

Kesterson, Roger Roger.Kesterson@ryobiaz.com
Fri, 4 Feb 2000 07:36:46 -0700


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.