HELP! Run/Import/Export/ Jobs from UNIXserver otherthan DS

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
wojtask
Participant
Posts: 10
Joined: Tue Nov 02, 2004 4:04 am

HELP! Run/Import/Export/ Jobs from UNIXserver otherthan DS

Post by wojtask »

Hi All!

We currently working on a project, where we want to:
1. import/export/run jobs from unix machnie other than DS server
Is this possible?
2. Is it possible without RTI run jobs from other unix machine maybe?
3. Is the only way to run jobs from other machine is to create kind of wrapper for dsjob command on DS server and call it externally or use rexec or rsh to call dsjob??
4. Arent there any Unix c API or Java API to run jobs??
5. How can I get job execution status in the way other than calling dsjob -report plus grep or ??
6. Is there any way to put that status to the database?? If using sequence how to get first job name or id to another job in sequence??

Regards
Wojtek
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
some of this is a search away from you.

now lets see....

first this sounds like a potential sell info for Ascential or one of it's vendors so the'll be more thne happy to answer theese questions for you.

as for your questions:

1. Import/Export for jobs is a client side operation, excluding perhaps import of executables. - so performing this would require activating a client side (on a windows machine) Import/Export using the command line interface.

2. yes you'll need to remote execute the dsjob command line interface or get the relevant components installed (not sure what the exact info is for unix)

3. No, there is the API interface implementable via visual basic and C/C++ language. (I'v been involved with a comm dll that could run dsjobs and get their status for 3rd party tool, it worked)

4. as in 3. there is the C/C++ API look in the docs of the servjdev.pdf for the DataStage Development Kit (not 100% sure implementable via another unix).

5. there is another option of dsjob - jobinfo, but you'll need same kind of logic as -report option.
Also you can get it via a DS routine/job control or the API.

6. yes you can pass jobstatus from one job activity to the next as a parameter.

there also is a java pack so you should also be able to interact somewhat with java (I don't recall the full details on this)

(thinking why not put a RFI (Requeft For Information) with Ascential on theese questions???)

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There IS a C-callable API. In fact, dsjob began life as simply an example of how to write code in that API. The API is documented in each of the Server Job Developer's Guide and Parallel Job Developer's Guide.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
wojtask
Participant
Posts: 10
Joined: Tue Nov 02, 2004 4:04 am

Post by wojtask »

Thank you for help
Post Reply