Search found 124 matches

by MrBlack
Tue Jul 30, 2013 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove leading zero before decimal point
Replies: 6
Views: 4165

I would think all you would have to do is specific the data type as a Decimal and that would take care of your problem. Other than that you'd have to do some fancy substringing to determine if there is only one character to the left of the decimal and if that character is a zero and if so then subst...
by MrBlack
Tue Jul 30, 2013 9:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do a between when joining in a lookup table
Replies: 3
Views: 2476

How do a between when joining in a lookup table

I'm trying to figure out the best way to bring in a look up value into a transformer. My look up table is date bound so I want to look up the key appropriate key value so if my source has a "Service_Date" and my look up table is "My_Key, Start_Date, End_Date" and I'm joining in o...
by MrBlack
Thu Jul 25, 2013 3:49 pm
Forum: General
Topic: How to escape double quotes in a transformer?
Replies: 1
Views: 2821

How to escape double quotes in a transformer?

Simple question, how to do you escape a literal string when concatenating in a transformer? This doesn't work: "<doc xmls=\"google.com\" >":DSLink1.col:"</doc>" As you can see I have a literal string that uses double quotes and I can't remember what the character is tha...
by MrBlack
Thu Jul 18, 2013 11:13 am
Forum: General
Topic: Web service stage how to prevent the encoding the message
Replies: 1
Views: 1031

Web service stage how to prevent the encoding the message

In the web service that I'm using, when I upload, the payload/message, which happens to be an XML document, on the receiving end the message has been HTML escaped so "<" becomes "&lt". Does anyone know how to prevent this? I found this thread, and the posted said they changed...
by MrBlack
Thu Jul 18, 2013 11:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Webservice Transformer XML output
Replies: 13
Views: 7734

I too would like to know how you resolved the issue. Changing the encoding style? Where? How? to What?
by MrBlack
Wed Jul 17, 2013 8:45 am
Forum: General
Topic: Viewing the SOAP call with the Web service stage
Replies: 2
Views: 1182

Just so I can mark this topic as resolved the bug with the webservice was a namespace in the XML of my payload. So the XML SOAP object was all correct but then the payload that was being delivered, an XML document, that document need it's namespace declared in it. So the best explanation I can provi...
by MrBlack
Tue Jul 16, 2013 3:53 pm
Forum: General
Topic: Viewing the SOAP call with the Web service stage
Replies: 2
Views: 1182

Viewing the SOAP call with the Web service stage

Does anyone know how to see the actual SOAP call the web service stage constructs? I'm doing some debugging why I'm getting an error like this: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: at com.ascentialsoftware.wsclient.WebService.callService(WebService...
by MrBlack
Tue Jul 16, 2013 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ds_ipcput() - row too big for inter stage rowbuffer
Replies: 8
Views: 7218

How do you turn off row buffering? I'm having the same issue.
by MrBlack
Tue Jul 16, 2013 2:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error: Tfm8: ds_intput() - row too big for inter stage rowbu
Replies: 3
Views: 3365

How do you increase the size of the row buffer??
by MrBlack
Mon Jul 15, 2013 12:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XMLOutput 1 header and n content
Replies: 4
Views: 3506

Here's how you do it, and I'm not a premium poster so you should be able to read all of my message 8) Had the same issue once, and so I added a surrogate key with an extra xml tag in my group to make it unique so Datastage wouldn't roll up my results. (Granted roll up is probably the proper thing to...
by MrBlack
Mon Jul 15, 2013 11:52 am
Forum: General
Topic: .DBF to .CSV conversion
Replies: 7
Views: 3402

I use the ODBC stage to read DBFs. Be sure though, sometimes I need to make sure that the CDX and FPT files of the databse are in the same directory of the DBF file that the ODBC connection is pointed to.
by MrBlack
Mon Jul 15, 2013 11:22 am
Forum: General
Topic: Load Multiple Files From FTP Location
Replies: 3
Views: 2028

I haven't tested this but in the FTP stage, could you just define a file pattern like file_*.csv Other options would be to Use a sequence to loop through each file that needs processing. There's many ways you can define a list such as statically, OS scripting, or read in a master file from the FTP t...
by MrBlack
Mon Jul 15, 2013 11:17 am
Forum: General
Topic: XML Output Stage to a Webservice
Replies: 2
Views: 1545

Solved it! In the output column of the XML Output stage, define just a single column but in the Description (where you put the XPath when working with XML) just put a single / The datatype I've just left as Unknown and so far that's working. I now have a single sting of xml text that I can do whatev...
by MrBlack
Mon Jul 15, 2013 10:43 am
Forum: General
Topic: XML Output Stage to a Webservice
Replies: 2
Views: 1545

XML Output Stage to a Webservice

I'm looking for some help with the XML Output stage, so far I've just used the stage to write a file to the OS. So my job looks like this so far {Database} -> {Transformer} -> {XML Output} So the input tab of the XML Stage I write my XPath expressions and everything is working great. So the next thi...
by MrBlack
Wed Jul 03, 2013 9:51 am
Forum: General
Topic: Same linux command returning different results?
Replies: 2
Views: 872

Same linux command returning different results?

Hey Community So I've come across a weird anomaly in Datastage that I can't figure out. I have a directory of symbolic links that point to a mounted drive. I use the Linux FIND command to make a comma delimited list that I can later loop through. find *.dbf | tr '\n' ',' I execute this in a sequence...