8.1 upgrade - changes in dsjob command

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
madog
Charter Member
Charter Member
Posts: 16
Joined: Tue Jul 11, 2006 10:50 pm
Location: Melbourne

8.1 upgrade - changes in dsjob command

Post by madog »

Looks like the dsjob command options have changed in 8.1 from 8.01
Previously, you could specifiy the user / password to run as, but now it seems those options are gone. Can anybody confirm? Or let me know how to run the command specifying a different user? thanks.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Last edited by ray.wurlod on Fri Mar 05, 2010 12:51 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Double-quote madness, Ray. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
vkumar
Participant
Posts: 31
Joined: Fri Oct 08, 2004 2:38 pm
Location: Boston MA

Is there a way to skip the domain and port?

Post by vkumar »

I tested the file method and it worked fine .. BUT

Is there a way to skip the domain also or none at all?

I mean using dsjob command as is ? My concern is we have a ton of scripts using dsjob in 7.5 that have to be upgraded to 8.1.
Thanx........
CTCT
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I do believe that is required now, better get crack'n. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Not good.
Mamu Kim
vkumar
Participant
Posts: 31
Joined: Fri Oct 08, 2004 2:38 pm
Location: Boston MA

Post by vkumar »

Yep..IBM confirmed that unless there is only one version installed and using the default port, fully qualifying the server and port is mandatory for a dsjob command....
Thanx........
CTCT
madog
Charter Member
Charter Member
Posts: 16
Joined: Tue Jul 11, 2006 10:50 pm
Location: Melbourne

Post by madog »

i couldnt get this to work.. maybe a syntax thing. vkumar, could u kindly please post an example of how you called the dsjob?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or perhaps you could post the syntax you are using and what error it is throwing.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vkumar
Participant
Posts: 31
Joined: Fri Oct 08, 2004 2:38 pm
Location: Boston MA

Syntax

Post by vkumar »

Syntax...

Prior to the patch
/opt/IBM/InformationServer/Server/DSEngine/bin/dsjob -domain server -user dsadm -password dsadm -server server:31539 -lprojects


After the patch
dsjob -server :31539 -lprojects

RESOLUTION:

Fixed dsjob argument validation to allow "-server :portno" to be used without domain
authentication arguments



Here is the link to the patch...
http://www-01.ibm.com/support/docview.w ... wg1JR31155
Thanx........
CTCT
madog
Charter Member
Charter Member
Posts: 16
Joined: Tue Jul 11, 2006 10:50 pm
Location: Melbourne

Post by madog »

just noticed.. between my eg 1 and eg 2 - i put in different port numbers in my previous post. dont worry.. when trying this, i was putting in the correct and SAME port numbers.
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

madog wrote:just noticed.. between my eg 1 and eg 2 - i put in different port numbers in my previous post. dont worry.. when trying this, i was putting in the correct and SAME port numbers.
I know that I'm replying to a relatively old post. But can you try the below:

Code: Select all

dsjob -domain bv03uap010ufmy3 -server tducte02 -user dsadm -password abcd123 -lprojects
If you already resolved it, ignore my post.

Cheers!
I
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
madog
Charter Member
Charter Member
Posts: 16
Joined: Tue Jul 11, 2006 10:50 pm
Location: Melbourne

Post by madog »

thank you for the responses.

in the end - it turned out to be permissions issues. I had to give access to files from /IBM/InformationServer/ downwards....
Post Reply