Run jobs from a Command Line in Windows Env

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
nvalia
Premium Member
Premium Member
Posts: 180
Joined: Thu May 26, 2005 6:44 am

Run jobs from a Command Line in Windows Env

Post by nvalia »

Hi,

In a Unix Env we used to run the Datastage jobs from a Shell Script using the dsjob command. The Paramater and Enviroment dependant values would be passed to the jobs from other shell scripts at runtime

My question is, how can we run the jobs in a Windows Environment from the command line..using a Batch file?
What is the use of a Batch job?

Thanks,
NV
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

dsjob. Same way.
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
nvalia
Premium Member
Premium Member
Posts: 180
Joined: Thu May 26, 2005 6:44 am

Post by nvalia »

Thanks..

Any info on Batch Jobs?

Also we dont have a scheduler here where in the past I have worked with Autosys..So how to we schedule jobs in a Windows environment?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What kind of "info" are you looking for? Batch files would be the Windows equivalent to UNIX scripts, batch jobs are something else entirely... basically they are hand-coded job control opportunities written in BASIC and the API much like a Server routine.

If you don't have an Enterprise scheduler, you can always use the Director.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply