Using runscript command

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
madalaja
Participant
Posts: 3
Joined: Thu Jan 26, 2012 6:10 pm
Location: United States

Using runscript command

Post by madalaja »

Hi,

I am trying to use runscript command along with perl script to call a datastage job. runscript iis being used to pass the arguments to the datastage job

command:

runscript <app_name> <script.pl> -- 3

I am getting a error "Could not determine UNISON JOBNAME"

Is there a unison_job env variable in Datastage?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

"runscript"? Not something I've ever heard of.

The literal answer to your question is no, not out of the box - but that doesn't mean you couldn't have created one in your environment.
-craig

"You can never have too many knives" -- Logan Nine Fingers
madalaja
Participant
Posts: 3
Joined: Thu Jan 26, 2012 6:10 pm
Location: United States

Post by madalaja »

Thanks for the reply.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you still want some help with this, I'd imagine you'd need to post the Perl script you have that is attempting to run a DataStage job so we can see how it manages that (via dsjob I assume) and what is throwing the error.
-craig

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