QTP Error - Bracketed options are not enclosed in one of (), {}, [], or <>.
Peter Bateman
pfbcs@hotmail.com
Thu, 13 Jan 2005 21:58:54 -0400
Hi Stefan:
I have had better luck when I put my constants on the left of a
relational operator.
So
this (LEAVE-DATE-LEFT(1) GT 0 AND LEAVE-DATE-RET(1) EQ 0) OR &
becomes
( 0 LE LEAVE-DATE-LEFT(1) AND 0 EQ LEAVE-DATE-RET(1) ) OR &
etc
Regards,
Peter Bateman
>-----Original Message-----
>From: Stefan Thibeault [mailto:StefanT@peerless-clothing.com]
>Sent: Thursday, January 13, 2005 12:17 PM
>To: powerh-l@lists.sowder.com
>Subject: QTP Error - Bracketed options are not enclosed in one of (),
>{}, [], or <>.
>
>
>Hello,
>
>I made a change to a select statement in a QTP (PowerHouse 8.19.C4)
>and got the following error:
>
>Executing request ONE ...
>----------------------------------------------------------------------------
>---
>The permanent subfile will be overwritten.
> File: WDC1015
>----------------------------------------------------------------------------
>---
>Bracketed options are not enclosed in one of (), {}, [], or <>.
>
>
>RUN QTP.CURRENT.COGNOS;INFO=""; XL=" *PHLIBXL *ORDBA
>ORACLEXL.PUB.ORACLEM"
>Program terminated in an error state. (CIERR 976)
>
>I change this select from
>
>SELECT IF EMP-STATUS = "AF"
>
>to
>
>SELECT IF EMP-STATUS = "AF" AND ( &
> (LEAVE-DATE-LEFT(1) GT 0 AND LEAVE-DATE-RET(1) EQ 0) OR &
> (LEAVE-DATE-LEFT(2) GT 0 AND LEAVE-DATE-RET(2) EQ 0) OR &
> (LEAVE-DATE-LEFT(3) GT 0 AND LEAVE-DATE-RET(3) EQ 0) OR &
> (LEAVE-DATE-LEFT(4) GT 0 AND LEAVE-DATE-RET(4) EQ 0) OR &
> (LEAVE-DATE-LEFT(5) GT 0 AND LEAVE-DATE-RET(5) EQ 0) OR &
> (LEAVE-DATE-LEFT(6) GT 0 AND LEAVE-DATE-RET(6) EQ 0) OR &
> (LEAVE-DATE-LEFT(7) GT 0 AND LEAVE-DATE-RET(7) EQ 0) OR &
> (LEAVE-DATE-LEFT(8) GT 0 AND LEAVE-DATE-RET(8) EQ 0) )
>
>Does anyone have any ideas?
>
>
>Thanks,
>
>Stefan
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to
>powerh-l-request@lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSNŽ Premium right now and get the
first two months FREE*.