dsjob or client instal on UNIX machine

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
ukyrvd
Premium Member
Premium Member
Posts: 73
Joined: Thu Feb 10, 2005 10:59 am

dsjob or client instal on UNIX machine

Post by ukyrvd »

I was wondering if we can install datastage client or atleast the ds command line interface on a unix machine.
From the documentation it looks like complete client can only be installed on Windows machines .. But just wanted to make sure that.

Our requirement is we have some java scripts on unix-A machine and our datastage is installed on unix-B machine. we would like to run datastage jobs through the java scripts on A.

Any Ideas/suggestions?

We are looking at possibility of ability to run dsjob command from unix-A or opening up shell connections to Unix-B and run job on B and return to A.
thank you
- prasad
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The DataStage clients cannot be installed on unix. You can start jobs on UNIX using the "dsjob" command - even remotely.
ukyrvd
Premium Member
Premium Member
Posts: 73
Joined: Thu Feb 10, 2005 10:59 am

Post by ukyrvd »

On A we dont have any datastage components server/client.
ArndW wrote:You can start jobs on UNIX using the "dsjob" command - even remotely.
is that by opening ssh connection from A to B and then issuing the command on B??

Or any other method?
thank you
- prasad
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You can call dsjob on server A and tell it to start a job on DataStage Server B. If you can "ping" it and it has DS installed and you have a valid userid/password combination you can issue dsjob commands to your heart's content.
ukyrvd
Premium Member
Premium Member
Posts: 73
Joined: Thu Feb 10, 2005 10:59 am

Post by ukyrvd »

ArndW wrote:You can call dsjob on server A and tell it to start a job on DataStage Server B. If you can "ping" it and it has DS installed and you have a valid userid/password combination you can issue dsjob commands to your heart's content.
I am able to ping B from A.
On A we dont have any datastage software . so when I issue dsjob it is just saying "-ksh: dsjob: not found [No such file or directory]"
thank you
- prasad
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can install dsjob and its associated liraries wherever you like. However, you can only execute dsjob from somewhere where it is installed (and may need to adjust PATH and LD_LIBRARY_PATH environment variables). Details may be found in the manuals.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ukyrvd
Premium Member
Premium Member
Posts: 73
Joined: Thu Feb 10, 2005 10:59 am

Post by ukyrvd »

ray.wurlod wrote:You can install dsjob and its associated liraries wherever you like.
Thanks Ray. This is what I want to make sure if I can install just dsjob & corresponding binaries on unix machine. I couldnt find anything specific in this regard in install/upgrade guide.
I will ask our datastage admin to give it a try using installation code.
thank you
- prasad
just4geeks
Premium Member
Premium Member
Posts: 644
Joined: Sat Aug 26, 2006 3:59 pm
Location: Mclean, VA

Post by just4geeks »

Datastage server is installed on Unix Machine B. Unix Machine A does not have Datastage installed but can connect to Machine B through telnet sesssion.


Lets say we are connecting to Machine B from Machine A through telnet and issuing dsjob command from telnet session.

In that case also do we need to install dsjob libraries in Machine A?[/b]
Attitude is everything....
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No.
-craig

"You can never have too many knives" -- Logan Nine Fingers
just4geeks
Premium Member
Premium Member
Posts: 644
Joined: Sat Aug 26, 2006 3:59 pm
Location: Mclean, VA

Post by just4geeks »

Thanks Craig!!

Thats what I thought.

However if answer is no then I don't understand why we are having long discussion about installing dsjob libraries on another machine. am I missing something here?
Even java script on machine A will also connect to Machine B remotely and issue the dsjob command. Please excuse me if I am not able to understand the question properly.
Attitude is everything....
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I was almost going to get into a long discussion on the same topic, but decided not to. I've never needed to worry about getting dsjob components installed elsewhere, but I guess it could be a consideration in a situation where there's no way someone will be allowed remote access to the DataStage server.
-craig

"You can never have too many knives" -- Logan Nine Fingers
jdmiceli
Premium Member
Premium Member
Posts: 309
Joined: Wed Feb 22, 2006 10:03 am
Location: Urbandale, IA

Post by jdmiceli »

To fire off a DSJOB run statement, I believe you also have to have your 'dsenv' set, which can be set in a script. What I would do is to create a script that runs the job correctly on machine B and once it works from there, then you can use a remote connection to just fire off that script as an isolated instance.

Just a thought.
Bestest!

John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services


"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"
Post Reply