Hi,
I want to write a datastage API program to get link information using the function DSGetLinkInfo.Can any one tell me that where i have to write this program and how can i call in my job.....?
Thanks in advance
How to create and implement datastage API programms
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Making a wild assumption on your username I would say you are in the perfect place to find that out internally...
Do a search on the web (with something like "DataStage API"), I know a guide on creating it is out there somewhere having read it myself a little while ago.
From what little I remember, create a C/C++ program, once working, change the "main" function to the name of your app, compile (using a C++ compiler) as a library and that's about it...
Do a search on the web (with something like "DataStage API"), I know a guide on creating it is out there somewhere having read it myself a little while ago.
From what little I remember, create a C/C++ program, once working, change the "main" function to the name of your app, compile (using a C++ compiler) as a library and that's about it...
Re: How to create and implement datastage API programms
Hi,
to obtain the information you need, you can as well create a basic server routine.
Infact you can create a generic routine where you pass the job name, stage name and link name as params and the routine returns the info you want.
You can call this routine in After job subroutine or in in Sequence job.
to obtain the information you need, you can as well create a basic server routine.
Infact you can create a generic routine where you pass the job name, stage name and link name as params and the routine returns the info you want.
You can call this routine in After job subroutine or in in Sequence job.