Search found 8 matches

by Lansha
Wed Apr 09, 2008 3:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Before/After-job subroutine
Replies: 4
Views: 6758

ray.wurlod wrote:DSGetLinkInfo() is a transform function, not a before/after subroutine. You will need to write an interlude before/after subroutine that invokes DSGetLinkInfo().
Thanks Ray! That explained a lot. I will build a customized subroutine for this.
by Lansha
Wed Apr 09, 2008 3:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Before/After-job subroutine
Replies: 4
Views: 6758

ds_developer wrote:Before/After subroutines don't show up until they are compiled - I just tested it in 7.5.2. Can you see the routine in DS Manager and is its Type Before/After Subroutine?

John
That's exactly what happened. After I compiled the customized subroutine, it shows up in drop down list. Thank you John!
by Lansha
Wed Apr 09, 2008 2:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Before/After-job subroutine
Replies: 4
Views: 6758

Before/After-job subroutine

I need to get rowcount of both insert and update to a target table in the job. The best way I found after searching the forum seems using DSGetLinkInfo() in after-job subroutine. My problem is after opening job properties, in after-job subroutine drop down list, I can only see those built-in Before/...
by Lansha
Fri Apr 04, 2008 1:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Import SQL Server Stored Procedure
Replies: 4
Views: 1452

Got a workaround for now: our DBA went to each stored procedure and grant exec permissions :)
by Lansha
Fri Apr 04, 2008 12:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Import SQL Server Stored Procedure
Replies: 4
Views: 1452

Could you not do your grants and import in another environment where that is less of an issue, development for example? Everything I am trying now is in Dev environment. I can' see these stored procedures in Dev either. Now we need to find out what kind of permission should be to let DataStage see ...
by Lansha
Thu Apr 03, 2008 6:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Import SQL Server Stored Procedure
Replies: 4
Views: 1452

Import SQL Server Stored Procedure

When I try to import the stored procedures the only ones that are listed are ones named dt_**** which are all for version control. These are installed at run time. No other user created procedure names are returned. I did a research on this issue and the only post came up is from 3 years ago: http:/...
by Lansha
Tue Oct 30, 2007 5:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to kill a process, file locked
Replies: 3
Views: 2815

If you have any of the UNIX utilities installed you could try doing a "fuser -fux" on the file to identify what processes have a file open. I don't think that the normal Windows utilities let you do that. Thanks for your suggestion. There isn't any UNIX utilities installed on the server, ...
by Lansha
Tue Oct 30, 2007 12:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to kill a process, file locked
Replies: 3
Views: 2815

Unable to kill a process, file locked

First thank DataStage gurus here, helped me resovled a lot of issues, I am totally new to DataStage. This is my first post here. Please help. What happened was after I stopeed a job, I couldn't open a sequential file in target, here was what I did: I stopped my job by clicking on stop button in Dire...