Hi Yvonne,
try
ct find . -version 'attr_sub(Patch,==,"1861")' -print
Andrea
>From cciug-owner@Rational.Com Wed Jan 19 10:35:39 2000
>X-Envelope-Sender-Is: cciug-owner@Rational.Com (at relayer gecko.sbs.de)
>From: "Hornich, IT BK Zust, DD" <Y.Hornich@deutschepost.de>
>To: "'clearcase-usergroup'" <cciug@Rational.Com>
>Subject: [cciug] [ccuig] problem with find syntax
>Date: Wed, 19 Jan 2000 10:35:01 +0100
>X-MS-TNEF-Correlator: <F1CB58AD5701D311ACD54000003751101A4124@OKZBH016>
>MIME-Version: 1.0
>X-Majordomo-Taboo: cciug
>
>Hello there!
>
>I want to find all versions or elements with the attribute "Patch" and the value (character!) "1861". The search for the attribute-type Patch works with:
>
>find . -version 'attype_sub(Patch)' -print
>
>But I don't find the right query-syntax for search for attribute-values. I tried following (with help from the reference manual, chapters find and query language) but nothing works:
>
>find . -version 'attr_sub(Patch == 1861)' -print
>find . -version "attr_sub(Patch == "1861")" -print
>find . -version 'attr_sub(Patch == '1861')' -print
>find . -version "attr_sub(Patch == 1861)" -print
>find . -version Patch == "1861" -print
>find . -version Patch == '1861' -print
>find . -version 'attr_sub(Patch,==,'1861')' -print
>
>At every example there's the error-message: " Error: Syntax error in query (near character 16)....".
>
>Does anybody know a solution?
>
>(We work with CC 3.2.1 on NT 4.0).
>
>Best regards,
>
>Yvonne Hornich
>Deutsche Post
>Service-Niederlassung IT-Systeme BK Dresden
>AE Geographische Systeme, Zustellung
>Projekt GeoRoute
>Fon: 0351/4567-329
>Fax: 0351/4567-264
>mailto:Y.Hornich@DeutschePost.de
>
>
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:31 EDT