[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] condor_history query



Matt,

thanks for your response. I am guessing when you say const to use ¨constraint¨. So I am doing.

condor_history -constraint ´Book!=UNDEFINED´ -f history.file -format ¨%s\n¨ Book

But it seems this syntax is unsupported 



On Sat, Feb 11, 2012 at 11:28 AM, Matthew Farrellee <matt@xxxxxxxxxx> wrote:
On 02/10/2012 07:48 AM, Rita wrote:
I have a property in my submit file called +book=¨Aj45¨ and when I do
condor_history jobid -format ¨%s\n¨ book I can see Aj45

However, if book isnt defined in the submit file I would like to get a
¨undef¨ so I am doing,
condor_history jobid -format ¨%s\n¨
´ifThenElse(isUndefined(book),¨undef¨,book))´

I keep getting undef eventhough I have book. Any ideas what I am doing
wrong?

You are explicitly printing "undef" when it's undefined.

You want -const Book=!=UNDEFINED

Best,


matt
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxedu with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



--
--- Get your facts first, then you can distort them as you please.--