SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
How/When Do You Use @V"event" and @V

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
How/When Do You Use @V"event" and @V
Author Message
MikeK



Joined: 28 May 2003
Posts: 21

Post How/When Do You Use @V"event" and @V&quo Reply with quote

Using the @V"event" macros causes an error when I include it in part of the Semaphore filename of an event (Step 8). I have assigned a semaphore filename of Job@V"event".sem. The log says the job was unable to create the file d:\program files\24x7\Job@V"event".sem' Am I using it wrong?

The @V"file" always returns blank ("") when used in the script of a dependent job that has file-watch schedule? Why?



Fri Jun 06, 2003 2:24 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: How/When Do You Use @V"event" and @V Reply with quote

Which 24x7 version are you running?

: Using the @V"event" macros causes an error when I include it in
: part of the Semaphore filename of an event (Step 8). I have assigned a
: semaphore filename of Job@V"event".sem. The log says the job was
: unable to create the file d:\program
: files\24x7\Job@V"event".sem' Am I using it wrong?

: The @V"file" always returns blank ("") when used in the
: script of a dependent job that has file-watch schedule? Why?

Fri Jun 06, 2003 4:35 pm View user's profile Send private message
MikeK



Joined: 28 May 2003
Posts: 21

Post Re: How/When Do You Use @V"event" and @V Reply with quote

3.4.7 on Win2K SP3

: Which 24x7 version are you running?

Fri Jun 06, 2003 5:59 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: How/When Do You Use @V"event" and @V Reply with quote

Do you run this job manually by any chance?

: 3.4.7 on Win2K SP3

Fri Jun 06, 2003 6:05 pm View user's profile Send private message
MikeK



Joined: 28 May 2003
Posts: 21

Post Re: How/When Do You Use @V"event" and @V Reply with quote

I have been during development, however I just ran it using the schedule. Same result.

: Do you run this job manually by any chance?

Fri Jun 06, 2003 6:13 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: How/When Do You Use @V"event" and @V Reply with quote

I just tried 3.4.7 and here is what I found.

I created script type job with the following script:
MessageBox "From Job: File @V"file""
MessageBox "From Job: Event @V"event""

Check "on start" notification event also having script type, entered the following for the notification script:
MessageBox "From Notification: File @V"file""
MessageBox "From Notification: Event @V"event""

Job was set to watch for file c:\temp\xxx.xxx. After I created that file manually in a few seconds I've got
message box

Here are my results
"From Notification: File " after ok,
"From Notification: Event START" after ok,
"From Notification: File " after ok,
"From Notification: Event "

It looks like @V"file" is broken in that version and always returns an empty string.
For some reasons @V"event" works in the notification event only.

My conclusion these are bugs and they should be fixed. Version 3.4.8 is coming tomorrow, I am not sure if more fixes can be added to it. If they do not make to 3.4.8 then they will be available in the next one.

*** I am sorry that I did not try that from very beginning and wasted so much of your time. I apologize for that. ***

: I have been during development, however I just ran it using the schedule.
: Same result.

Fri Jun 06, 2003 7:43 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: How/When Do You Use @V"event" and @V Reply with quote

Oops... it is @V"files" not @V"file" that returns name of the samephore file triggering the job.

: I just tried 3.4.7 and here is what I found.

: I created script type job with the following script: MessageBox "From
: Job: File @V"file""
: MessageBox "From Job: Event @V"event""

: Check "on start" notification event also having script type,
: entered the following for the notification script: MessageBox "From
: Notification: File @V"file""
: MessageBox "From Notification: Event @V"event""

: Job was set to watch for file c:\temp\xxx.xxx. After I created that file
: manually in a few seconds I've got
: message box

: Here are my results
: "From Notification: File " after ok,
: "From Notification: Event START" after ok,
: "From Notification: File " after ok,
: "From Notification: Event "

: It looks like @V"file" is broken in that version and always returns
: an empty string.
: For some reasons @V"event" works in the notification event only.

: My conclusion these are bugs and they should be fixed. Version 3.4.8 is
: coming tomorrow, I am not sure if more fixes can be added to it. If they
: do not make to 3.4.8 then they will be available in the next one.

: *** I am sorry that I did not try that from very beginning and wasted so much
: of your time. I apologize for that. ***

Sat Jun 07, 2003 10:09 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.