SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Script conversion

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Script conversion
Author Message
Anil



Joined: 24 Nov 2006
Posts: 14

Post Script conversion Reply with quote

Hi,

I have the script written using JAL for Windows scheduler. I imported it into my Sun Solaris machine since I need to run them on UNIX box.
When I try to edit the script, I cannot see any thing in the editor, it opend blank, what might be the reason. However I could open the script in edit mode in the windows scheduler server on windows machine.

Second questions is my script has syntax like -
Dim( pm_log_file_dir, String, "E:\\apps\\Informatica Data\\SkdLogs\\" )
Dim( pm_bat_file_dir, String, "E:\\apps\\Informatica Data\\SrcFiles\\" )
Dim( pm_runwait_secs, Number, 30 )

I need to make changes to this to work in UNIX, so what syntax I should be using for changing the path in unix - \data\apps\Informatica Data\SkdLogs, will this syntax work?

Thanks,
Anil


Fri Nov 24, 2006 11:50 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Script conversion Reply with quote

JAL scripts are not supported by the Multi-platform Edition at this time.
You will need to convert them to JavaScript syntax. From JavaScript syntax and available extensions see JavaScript Reference PDF file provided with the scheduler.

Example:
var pm_log_file_dir;
pm_log_file_dir = "E:\\apps\\Informatica Data\\SkdLogs\\";
var pm_bat_file_dir
pm_bat_file_dir = "E:\\apps\\Informatica Data\\SrcFiles\\";
var pm_runwait_secs;
pm_runwait_secs = 30;

: Hi,

: I have the script written using JAL for Windows scheduler. I imported it into
: my Sun Solaris machine since I need to run them on UNIX box.
: When I try to edit the script, I cannot see any thing in the editor, it opend
: blank, what might be the reason. However I could open the script in edit
: mode in the windows scheduler server on windows machine.

: Second questions is my script has syntax like -
: Dim( pm_log_file_dir, String, "E:\\apps\\Informatica
: Data\\SkdLogs\\" )
: Dim( pm_bat_file_dir, String, "E:\\apps\\Informatica
: Data\\SrcFiles\\" )
: Dim( pm_runwait_secs, Number, 30 )

: I need to make changes to this to work in UNIX, so what syntax I should be
: using for changing the path in unix - \data\apps\Informatica Data\SkdLogs,
: will this syntax work?

: Thanks,
: Anil

Fri Nov 24, 2006 12:15 pm 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.