Hi,
I have a XMLStream passed to a Transformer.i need to delete a specific element (eg xpath: /Root/Country/Name)from the xml.
Is it possible to delete an xml element entirely from an xml
using DataStage?
Thanks
vsi
Search found 496 matches
- Tue May 10, 2011 10:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Remove an xml element from an xml in Datastage
- Replies: 2
- Views: 3906
- Tue May 03, 2011 4:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Search if a value exists in a string
- Replies: 3
- Views: 3683
- Tue May 03, 2011 3:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Search if a value exists in a string
- Replies: 3
- Views: 3683
Search if a value exists in a string
Hi,
I have a certain values in a string with delimiter as comma.
values CAN BE DIFFERENT and can be in ANY order
example:
pText = "CA,NJ,NY,TEXAS"
I want to check, if "AR" exists in the string.
please advise.
Thanks
vsi
I have a certain values in a string with delimiter as comma.
values CAN BE DIFFERENT and can be in ANY order
example:
pText = "CA,NJ,NY,TEXAS"
I want to check, if "AR" exists in the string.
please advise.
Thanks
vsi
- Thu Oct 14, 2010 7:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: is it a good practise to define a col without defining lengt
- Replies: 3
- Views: 3120
any harm without defining field length
Is there any harm,if the field with varchar datatype is mentioning field length?
- Thu Oct 14, 2010 7:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: is it a good practise to define a col without defining lengt
- Replies: 3
- Views: 3120
is it a good practise to define a col without defining lengt
Hi,
Is it a good practise to define a column without defining length?
I have bunch of fields of varchar datatype, without putting length.
Thanks
Is it a good practise to define a column without defining length?
I have bunch of fields of varchar datatype, without putting length.
Thanks
- Thu Jul 15, 2010 12:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: count number of element count within a xml file in Datastage
- Replies: 1
- Views: 2351
count number of element count within a xml file in Datastage
I have an xml file <Root> <node/> <node/> <node/> </Root> Is it possible to count number of nodes(/Root/node) from an xml file within datastage. In xslt i can use <xsl:value-of select=count("/Root/node")/> Can someone tell me,where to use in xml transformer within datastage? Thanks
- Sat Jun 19, 2010 4:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Read a file with a delimiter as string
- Replies: 8
- Views: 5847
- Sat Jun 19, 2010 1:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Read a file with a delimiter as string
- Replies: 8
- Views: 5847
Read a file with a delimiter as string
Hi,
I have a file with |& as the delimiter.
eg: abc|&cde|&fgh|&ijk
I need to extract the values based on the delimiter |&
Tried Field () function, but didn't work here.
any other idea?
Thanks
I have a file with |& as the delimiter.
eg: abc|&cde|&fgh|&ijk
I need to extract the values based on the delimiter |&
Tried Field () function, but didn't work here.
any other idea?
Thanks
- Fri Aug 21, 2009 9:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: sort records and put Null if there are more matches on key
- Replies: 8
- Views: 3944
- Fri Aug 21, 2009 9:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: sort records and put Null if there are more matches on key
- Replies: 8
- Views: 3944
sort records and put Null if there are more matches on key
I have data like this Location Timezone 1000 CST 1000 PST 1000 EST 1000 1100 IST 1100 1200 1300 GMT 1300 CST My Output should look like Location Timezone 1000 1100 IST 1200 1300 How Can I get this .....sort keychange is not helping i.e if there are multiple timezones i need to keep null else data
- Thu May 07, 2009 1:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: TNS:Could not resolve service name
- Replies: 10
- Views: 6976
Please add the database entry in tnsnames.ora file
Please add the database entry in tnsnames.ora file,Please send email to DBA,he will add it.
Thanks
Thanks
- Wed Oct 01, 2008 10:04 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ds_seqopen() - Win32 error in CreateFile
- Replies: 4
- Views: 6533
- Wed Oct 01, 2008 9:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ds_seqopen() - Win32 error in CreateFile
- Replies: 4
- Views: 6533
ds_seqopen() - Win32 error in CreateFile
Hi, Iam getting the following error while loading data in seq file. I have checked that no other process is using these file names error: ds_seqopen() - Win32 error in CreateFile - The process cannot access the file because it is being used by another process. Please help in this regard Thanks, VSI
- Wed Jul 23, 2008 8:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: shell script to login to the project
- Replies: 12
- Views: 8500
- Wed Jul 23, 2008 4:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: shell script to login to the project
- Replies: 12
- Views: 8500