Hi
Can anyone advise me where i can get the Parallel Routines(C++) guide.
Thanks
Naga
C++ routine guide
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
Go for some books/docs which can teach c++. If you want to know how to use that routine in DataStage job check out this link.
http://it.toolbox.com/blogs/dw-soa/data ... easy-20926
http://it.toolbox.com/blogs/dw-soa/data ... easy-20926
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Thanks to all,
I have gone through the API Functions.
But i want to create a routine which should return Elapsed time, Status, and Number of Rows. For no. of rows we can use below function
But doubt is whether we can use it in Transformer as Rowcount column expression or in Sequence?
I have gone through the API Functions.
But i want to create a routine which should return Elapsed time, Status, and Number of Rows. For no. of rows we can use below function
Code: Select all
typedef struct _DSLINKINFO {
int infoType: /
union {
DSLOGDETAIL lastError;
int rowCount;
char *linkName;
char *linkSQLState;
char *linkDBMSCode;
char *linkDesc;
char *linkedStage;
char *rowCountList;
} info
;
} DSLINKINFO;
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You should not be doing this as the job runs, you should get the link row counts after the job has finished. Do this in an after-job subroutine or in an external routine (possibly invoked from the controlling sequence). Either of these uses the DataStage BASIC language.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.