Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Help: queries in a batch file
Topic Summary:
Created On: 25-Aug-2004 20:21
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by , on Friday, March 11, 2005 5:02 PM

Answer:
When you format the output with the -f (from the CLI), you use a '%' in front of the attribute, as in "%version". In a batch file, you must use 2 '%', as in "%%version".

Steve
 25-Aug-2004 20:21
User is offline View Users Profile Print this message


suresh mekala

Posts: 6
Joined: 30-Mar-2004

Hello All,
I have this query line, in a batch file
ccm query -type task "(status='completed') and (release='r/c1')" -f "version status create_time modify_time, and when ever I run this, I just get this output, and IAm not able to solve it, can anyone please help me out.
When i run the same query at the command prompt, it runs fine.

1) version status create_time modify_time
2) version status create_time modify_time
3) version status create_time modify_time
4) version status create_time modify_time
5) version status create_time modify_time
6) version status create_time modify_time
7) version status create_time modify_time
8) version status create_time modify_time
9) version status create_time modify_time
Suresh.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.