Windows Script

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
cherry
Participant
Posts: 108
Joined: Sun Jul 10, 2005 1:35 am

Windows Script

Post by cherry »

Hi All,

Could some one provide me a sample script to execute Datastage jobs from command prompt.

Thanks In Advance...


Best regards
Cherry
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Most here are for UNIX but found this, it might help:

viewtopic.php?t=107766

Take out the bits you don't need and ain't much left, however. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
cherry
Participant
Posts: 108
Joined: Sun Jul 10, 2005 1:35 am

Post by cherry »

Thanks Chullet. Let Me try this.


Best Regards
Cherry
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You'll need to add some level of error checking, this example has none - zip, zilch, nada.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Another example:

viewtopic.php?t=85743

Searching for "errorlevel" may turn more up as that is how you check execution status in a DOS batch file.
-craig

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