SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Dynamic JDL files

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Dynamic JDL files
Author Message
Tim



Joined: 09 Oct 2001
Posts: 36

Post Dynamic JDL files Reply with quote

Hi, is there a way to dynamically pass paremeters through to jdl files?
Im developing an application and i would like to pass variables such as START_TIME and START_DATE through to the jdl file, which will then change the properties of a job.

Thanks,
Tim

Fri Aug 06, 2004 1:23 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Dynamic JDL files Reply with quote

: Hi, is there a way to dynamically pass paremeters through to jdl files?
: Im developing an application and i would like to pass variables such as
: START_TIME and START_DATE through to the jdl file, which will then change
: the properties of a job.

: Thanks,
: Tim

Fri Aug 06, 2004 1:35 am View user's profile Send private message
Tim



Joined: 09 Oct 2001
Posts: 36

Post Re: Dynamic JDL files Reply with quote

Hi, i dont think there was a reply in your last response.

Fri Aug 06, 2004 1:43 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Dynamic JDL files Reply with quote

Please check out "Using JDL Files" and "Examples of Using Job Definition Language Commands" topic in the online help file.

Here is a modified example of EXAMPLE.JDL file from one of these topics

;***********************************************
;* EXAMPLE.JDL file
;***********************************************
; Change start date and time for job #58
SET 58 START_TIME=08:45
SET 58 START_DATE=01/01/2005

; Add the new job to the schedule
ADD

NAME=New job submited via JDL command file

COMMAND=notepad

ASYNC=N

TIMEOUT=1

START_TIME=08:45

START_DATE=01/01/2005

DESCRIPTION=This jobs was created using JDL command file
; Save all changes
SAV
;***********************************************

To run this file go to command prompt and run
24x7 /SCRIPT EXAMPLE.JDL

to verify results run
TYPE JDL.LOG

: Hi, i dont think there was a reply in your last response.

Fri Aug 06, 2004 9:43 am View user's profile Send private message
Tim



Joined: 09 Oct 2001
Posts: 36

Post Re: Dynamic JDL files Reply with quote

: Hi, is there a way to dynamically pass paremeters through to jdl files?
: Im developing an application and i would like to pass variables such as
: START_TIME and START_DATE through to the jdl file, which will then change
: the properties of a job.

: Thanks,
: Tim

Hi, what i want to do was to pass a parameter through the commandline which executes the JDL file. eg. 'Example.Jdl parameter'
i was wondering if this was possible, so i can pass throuhg varaibles in the jdl file call, and code inside the jdl file will pick up the parameter, and processes it.


Sun Aug 08, 2004 7:23 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Dynamic JDL files Reply with quote

You cannot pass JDL parameters on the command line but you can create dynamic JDL files. From any program or even from a batch file you can write dynamic JDL file and then execute it using 24x7 / SCRIPT command.

: Hi, what i want to do was to pass a parameter through the commandline which
: executes the JDL file. eg. 'Example.Jdl parameter'
: i was wondering if this was possible, so i can pass throuhg varaibles in the
: jdl file call, and code inside the jdl file will pick up the parameter,
: and processes it.

Mon Aug 09, 2004 8:47 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.