Must press return key twice for Cognos program prompt

Don DeRusha dderusha@pacbell.net
Sat, 03 Jul 1999 00:53:57 -0700


I am working at a clients site. They are running powerhouse version
7.29C5 on an HP3000 running version 6.0 of MPE. They use UDCs to invoke
powerhouse application. However the application only prompt for a
command after the return key has been pressed twice. Below is the udc
used invoke QSHOW. Can something be done to eliminate the need to press
the return key twice?

User-defined command:

QSHOW7 INFO="", VERS=PH729C5, INTERBASE=NO, AUTO="", CC="()", DICT="",
DICTIONARY="", LIST=YES, OWNER="",
PROCLOC="", SHIFT=UP
IF "!DICT"="" THEN

SETVAR PHDICT,"!DICTIONARY"
ELSE

SETVAR PHDICT,"!DICT"
ENDIF
COMMENT
COMMENT The INTERBASE parameter is used to indicate whether or not
COMMENT StarBase is going to be used in this PowerHouse call; and if so,

COMMENT what version.  The default is that StarBase is not going to be
COMMENT used, "INTERBASE=NO".  In the event that StarBase is always
being
COMMENT used, please edit this file such that "INTERBASE=YES".
COMMENT
COMMENT If the parameter "INTERBASE" = "YES", the default version of
COMMENT StarBase will be used.  Otherwise, the user may specify the
COMMENT version of StarBase that they want to use by setting the
parameter
COMMENT "INTERBASE" to the desired version.  i.e. "INTERBASE=V33D"
COMMENT
SETJCW CIERROR 0
CONTINUE
SETPOWERHOUSE !VERS
IF CIERROR = 0 THEN

CONTINUE

PHRUNPROG QSHOW.!VERS.COGNOS, "!INFO", "!AUTO", "!CC", "!PHDICT",
"!LIST", "!OWNER", "!PROCLOC", FIRST,
"!SHIFT", YES, "", "", "!INTERBASE"
ENDIF
IF (BOUND(PHDICT)) THEN

DELETEVAR PHDICT
ENDIF
RESETPOWERHOUSE

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.