Search found 9 matches

by grace
Mon Feb 05, 2007 1:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove/replace special characters
Replies: 5
Views: 7341

You can provide the tr function in the filter options of your sequential file stage. You dont need to redirect it to a new file. Thanks for the replies! Unfortunately, in some cases, sequential stage is not an option. I read the other post suggesting the trim function, do you know what to put as th...
by grace
Mon Feb 05, 2007 12:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove/replace special characters
Replies: 5
Views: 7341

How to remove/replace special characters

Does anyone know how to remove special characters (Newline character, Carriage return character, etc.) in parallel jobs?
These are unprintable characters, I know there is ICONV function for server jobs, is there any function similar to that in parallel jobs?

Any help is appreciated.

Grace
by grace
Fri Sep 08, 2006 2:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

Thank you very much for all your responses, that was very helpful. I did notice that we have a "Failed to connect JobMonApp on port" error, and after I restart the JobMonApp, I am able to retrieve the rowcount being passed down to the link, so this solved one of the mysteries. But now back...
by grace
Fri Sep 08, 2006 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

Can you please explain how to turn on the monitor?
by grace
Fri Sep 08, 2006 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

I just realized that even I can get the rowcount from the link, it won't serve the project needs. What we are trying to do is that get the actual rowcount that being inserted/updated/deleted in the table, the count from the link is what being passed down. So I am thinking to get the rowcount from th...
by grace
Thu Sep 07, 2006 12:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

Not sure what's the difference between the passive stage name & the active stage name.
Can you explain it?
by grace
Thu Sep 07, 2006 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

Thank you for all your response! Yes, the DSJ.ME is valid in an afterjob routine. But I am still not get any rowcount back, even when I tried to write the job report out to a file using the statement below: ReportText =DSMakeJobReport(JobHandle,2,"CRLF") I can see the job/stages/links name...
by grace
Wed Sep 06, 2006 9:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

Thanks a lot for your quick response!!

I am using JobHandle = DSJ.ME, so there is no need for DSAttach(), right? The stageName & LinkNames are valid.
by grace
Wed Sep 06, 2006 8:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RowCount from the DSGetLinkInfo always return zero
Replies: 20
Views: 8067

RowCount from the DSGetLinkInfo always return zero

I am trying to get the rowcount by using JobRowCount = DSGetLinkInfo(JobHandle,StageName,LinkName,DSJ.LINKROWCOUNT ) in an after job subroutine , but it always returns zero while I can see from the log that there are rows being processed, I saw many people get a good result by using the DSGetLinkInf...