Problem with viewing DataStage logs in Unix

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
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Problem with viewing DataStage logs in Unix

Post by highpoint »

Hi,

I am trying to view log through unix and tried following command:

Code: Select all

$ dsjob  -logsum Development ins_loans_table
ERROR: Failed to open project


Status code = 81005
Then i tried

Code: Select all

$ dsjob -domain NONE -user ABC -password XXXX-server dsserver:9080 -logsum Development ins_loans_table
ERROR: Failed to open project


Status code = 81005

Please let me know what i am missing to get this working.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Project names are case sensitive.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

try the -lprojects first to see the proper spelling.
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Post by highpoint »

PaulVL wrote:try the -lprojects first to see the proper spelling.
I tried it. I am getting following error.

Code: Select all

$ dsjob -lprojects
Status code = 39202
Help is appreciated.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Try passing in a full set of credentials: server, userid, password, domain...
-craig

"You can never have too many knives" -- Logan Nine Fingers
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Post by highpoint »

Doesn't work either.

Code: Select all

$ dsjob -domain NONE -user ABC -password XXX -server dsserver:9080 -lprojects
Status code = 81005
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So it seems you may have found this post if you know about skipping Domain authentication. Did you read their resolution and try to verify that your permissions "all the way down" are correct?
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

It looks like you tried the same syntax as before and you got.... the same results.

Why have you chosen "NONE" as the domain?
Choose a job you love, and you will never have to work a day in your life. - Confucius
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I guess in the case of using -domain NONE, you still need to specify the engine name after the server option, so try it with the engine port number, such as 31538 instead of 9080.
Choose a job you love, and you will never have to work a day in your life. - Confucius
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Post by highpoint »

chulett wrote:So it seems you may have found this post if you know about skipping Domain authentication. Did you read their resolution and try to verify that your permissions "all the way down" are correct?
I read the post you pointed to and all the posts that post i pointing to.

I have 2 questions.


Question 1:

dsjob -domain NONE -user ABC -password XXXX-server dsserver:9080 -logsum Development ins_loans_table

What should be the domain name in this.
I just used NONE because the IBM documentation was using NONE.
If i have to use anything else than none. Where can i find my domain name please?


Question 2:
The previous post resolution says:
in the end - it turned out to be permissions issues. I had to give access to files from /IBM/InformationServer/ downwards....
Are you saying that all files and directories under /IBM/InformationServer/
should be give access to all the developers.

If yes, then whether it should be just read access or read, write and execute access.

And could you please point me to IBM documentation where it says that all files and directories under /IBM/InformationServer needs to be given access. Since it won't fly in convincing my DataStage admin in granting access without any IBM documentation.

Help is really Appreciated.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I don't know where permission change instructions exist in documentation or if perhaps that instruction came from IBM Support for example.

Try domain option of NONE and server option using the Engine port number as I suggested above. See if that works for you or not. If not, then try the same with engine credentials, such as the dsadm ID and password.

Those option details are documented in the Programmers Guide PDF, which covers a lot of command line programs, including dsjob and the -domain NONE meaning.
Choose a job you love, and you will never have to work a day in your life. - Confucius
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Please see Eric's post here for additional information on the -domain option.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The -domain option must name the machine on which the services tier is installed (and listening on port #9080).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply