Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


learner
2012-05-25T02:15:21Z
Hi Support
I am new to Visual Cron.

I have a data stage job which runs through Task Execute in visual cron. This job needs two variables (from_date and to_date) which needs to be passed through visual cron. I created two variables process_from and process_to and passed them as -param in arguments. Job fails every time...no idea why.


command line looks like below.

E:\IBM\InformationServer\Server\DSEngine\bin\dsjob -run


Arguments as below..

dstage1 <job name> -param Enter Exceptions From Date={USERVAR(pPROCESS_FROM)} -param Enter Exceptions To Date={USERVAR(pPROCESS_TO)}

Enter Exceptions From Date and Enter Exceptions To Date are prompts from datastage for which the values need to be passed.

Any help will be much appreicated!
cheers
Sponsor
Forum information
ErikC
2012-05-25T06:34:16Z
Hi learner,

Welcome to the forum!

To run an application you need only the program name in the command field.
All the parameters should go in the Arguments field.

So in your case the command is: E:\IBM\InformationServer\Server\DSEngine\bin\dsjob
The rest are all arguments.

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top