Page 1 of 1

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

Posted: Wed Apr 20, 2005 3:31 am
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

Posted: Wed Apr 20, 2005 4:58 am
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,

Posted: Wed Apr 20, 2005 3:31 pm
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.

Posted: Thu Apr 21, 2005 12:57 am
by wojtask
Thank you for help