SETSYSTEMVAL in QTP
Richard Witkopp
witkopp@idt.com
Tue, 13 Jul 1999 11:46:25 -0700
Don't you have to reference JUNK so the DEFINE
evaluates?
> Why can you not set a system logical (Alpha System, 710F4) using the
> SETSYSTEMVAL in QTP? It appears to work fine with QUIZ and
> QUICK, but not
> QTP. There is nothing in the QTP manual that says it won't
> work, but only
> gives examples of setting it with QUIZ and QUICK. No syntax
> error occurs.
>
> Consider the following:
>
>
>
> Prod > SHOW LOG MY-SYMBOL
> %SHOW-S-NOTRAN, no translation for logical name MY-SYMBOL
> Prod > QUIZ
>
> Q U I Z (7.10.F4)
> Copyright 1996 COGNOS INC. (ALPHA)
> Licensed PH-AXP-RUNTIME for customer: 5062940001 EUGENE
> SCHOOL DISTRICT AXP
>
> > USE TPSET1
> > SET VERIFY
> > DEFINE JUNK = 1 IF SETSYSTEMVAL("MY-SYMBOL","SET IN QUIZ")
> > GO
>
> Records selected: 0
>
> > EXIT
> Prod > SHOW LOG MY-SYMBOL
> "MY-SYMBOL" = "SET IN QUIZ" (LNM$PROCESS_TABLE)
> Prod > DEASSIGN MY-SYMBOL
> Prod > SHOW LOG MY-SYMBOL
> %SHOW-S-NOTRAN, no translation for logical name MY-SYMBOL
>
>
>
> Prod > QTP
>
> Q T P (7.10.F4)
> Copyright 1996 COGNOS INC. (ALPHA)
> Licensed PH-AXP-RUNTIME for customer: 5062940001 EUGENE
> SCHOOL DISTRICT AXP
>
> > USE TPSET1
> > ACCESS WPS-CODE-TBL
> > SET INPUT LIMIT 1
> > DEFINE JUNK = 1 IF SETSYSTEMVAL("MY-SYMBOL","SET IN QTP")
> > GO
>
> Executing request 1 ...
> *W* Input limit has been exceeded.
>
> Records read:
> WPS-CODE-TBL 2
>
> Transactions processed: 1
>
> Finished.
> > EXIT
> Prod > SHOW LOG MY-SYMBOL
> %SHOW-S-NOTRAN, no translation for logical name MY-SYMBOL
> Prod >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Terry Pickering Consultant Extraordinare
> Monday and Friday Tuesday - Thursday
> Portland Eugene
> (503) 245-7178 (541) 687-3416
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> = = = = = = =
> 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.
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.