PUT's not working in EXIT procedure
Cummings, Ken P.
KPCUMMIN@gapac.com
Thu, 13 Aug 1998 14:31:50 -0400
Thanks for all the help from everyone this problem. There were lots of good
ideas, most of which I had already tried, a couple which I hadn't.
The solution I found most useful was provided by someone who is not even on
the list - a gentleman by the name of Ted Melancon.
I enclose his solution for the interest of the mailing list:
--------------------------------------
Your observations are exactly correct; in fact, with Powerhouse release
6 and beyond, Cognos specifically stated that they were discontinuing
the function of the PUT verb in procedure EXIT (why they didn't go the
rest of the way and make it syntactically incorrect is beyond me).
Here is a solution - uh, shall we say a work-around:
1) A conventional RETURN and/or UPDATE RETURN will no longer serve the
purpose so you have to create a procedure, say XRET (DESIGNER) that will
do all the end of screen processing and then execute the RETURN verb to
get out of the screen
2) Assign this DESIGNER procedure to the typical RETURN function key
(usual F8) - note: make sure the procedure has the NODATA clause on it
3) Perform all commands in this procedure as you are currently in
procedure EXIT; make the last command be the RETURN verb
4) May want to disallow certain functions to force users through this
avenue
Please note that this is a conceptual and somewhat simplistic solution.
Variation will have to be applied for commands such as UPDATE RETURN,
RETURN TO STOP and RETURN to START.
----------------------------------------------------------------------
Ken Cummings
Senior Consultant
VersaComp Systems Inc.
cummingsk@versacomp.com
kpcummin@gapac.com
404-652-6250
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.