Page 1 of 1

How to run job use the dsjob command

Posted: Thu Nov 29, 2012 3:40 am
by dongyingying
Hi All,

when I try using the command dsjob to run job I got some issues :
/opt/IBM/InformationServer/Server/DSEngine/bin> dsjob ....

Could not load program dsjob: Dependent module libvmdsapi.so could not be loaded.
Could not load module libvmdsapi.so.System error: No such file or directory

I search the forum found some one suggest source the dsenv
/opt/IBM/InformationServer/Server/DSEngine>source dsenv ,then suddenly I got the following issues:

ksh: source: not found ;

Do you any one like help me out of the questions ? is this a big question ? Thanks.

Posted: Thu Nov 29, 2012 7:18 am
by Mike
'Source' the dsenv file usually means to use the dot command. Somebody may have created an alias for "source" to equate it to their dot command.

Try

Code: Select all

. /opt/IBM/InformationServer/Server/DSEngine/dsenv
Be sure you don't miss the dot-space at the beginning.

Mike

Posted: Mon Dec 03, 2012 9:29 pm
by dongyingying
Thanks Mike,

when we try to execute the ./dsenv .
we got the issues.
Technote (troubleshooting)

Problem(Abstract)

When starting DataStage Server or sourcing the dsenv, the following warning is received:

ulimit: outside the allowable range
Cause

The warning message you are receiving - ulimit: outside the allowable range - is telling you that you are trying to set a higher ulimit in dsenv than root has.
Diagnosing the problem

* Execute the following command from Unix command line both as dsadm and as root:

ulimit -a

* You can use the output from the command to compare with the values that are defined in the dsenv file.


Note: dsadm is the default DataStage Administrative user. If you have a different DataStage Administrative user then execute, ulimit -a, as that user instead.

Resolving the problem

Please verify that root and dsadm have the same ulimit settings or greater than the ones defined in dsenv. Once you have everything in sync, then stop and restart the DataStage Engine.


I think this caused by the pri ,do you think so ?

Posted: Mon Dec 03, 2012 10:10 pm
by ray.wurlod
Mike wrote:Be sure you don't miss the dot-space at the beginning.
You missed it.
It's

Code: Select all

. ./dsenv

Posted: Tue Dec 04, 2012 2:39 am
by dongyingying
I should added :

server:/opt/IBM/InformationServer/Server/DSEngine$ ./dsenv

But still got the error message:

./dsenv[77]: ulimit: outside the allowable range

Posted: Tue Dec 04, 2012 2:52 am
by ray.wurlod
You have a ulimit command in dsenv. Lose it, or make sure it conforms with the limits set for your system. Other than that, after sourcing dsenv you should be able to run dsjob commands.