Page 1 of 1

Using runscript command

Posted: Thu Jul 26, 2012 10:41 am
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?

Posted: Thu Jul 26, 2012 11:03 am
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.

Posted: Thu Jul 26, 2012 11:47 am
by madalaja
Thanks for the reply.

Posted: Thu Jul 26, 2012 5:02 pm
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.