DataStage Errors

8 May

If you receive the following errors when attempting to run “dsjob” from the command line it means you do not have the correct permissions to run the job:

Error running job

Status code = -99 DSJE_REPERROR

To fix this, I had to add the user to the group(‘dstage’) that DataStage was installed as:


$> /usr/sbin/usermod -a -G dstage myusername

Its annoying that it doesn’t say “you don’t have permissions”

Advertisements

One Response to “DataStage Errors”

  1. Marcos Barcellos September 2, 2008 at 10:05 am #

    Excelent!
    I had this problem starting dsjob in command line from PHP aplication with the user apache.
    shell_execute(‘$DSHOME/bin/dsjob -run -NORMAL myproject myjob’)

    Adding the user apache in the group ‘dstage’ the problem was solved.

    Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: