Search found 312 matches
- Fri Feb 25, 2011 1:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
We have just one record with one field. However the one field will contain comma delimited values. If the one input field contains 10 comma seperated values, then we should end up with 10 records with one field on each reacord. But we will never know how many delimited values are in the one input fi...
- Fri Feb 25, 2011 1:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
- Fri Feb 25, 2011 1:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
The input record conatins one field and it would be a varchar 255 field. The one input field contains value1,value2,value3 etc.. we will never know ahead of time how many comma delimited values the input field contains. So each value in the field would become it's own record. value1 value2 value3 et...
- Fri Feb 25, 2011 1:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
- Fri Feb 25, 2011 11:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
- Fri Feb 25, 2011 9:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
Sorry it's a comma delimted field not a comma delimited record. we won't know the number of comma seperated fields. We just know that we have a comma delimited field and each comma delimted value within the field should be parsed into it's own record. field1,field,field3 etc... will need to be field...
- Fri Feb 25, 2011 9:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
- Fri Feb 25, 2011 9:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to make a record for each comma separated field
- Replies: 25
- Views: 11776
How to make a record for each comma separated field
Hi, thanks for reading
Need to split a comma delimited record into rows.
If I have
field1,field2,field3
How can I end up with 3 records?
field1
field2
field3
Need to split a comma delimited record into rows.
If I have
field1,field2,field3
How can I end up with 3 records?
field1
field2
field3
- Thu Feb 17, 2011 7:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to read and write BLOB datatype in datastage 8.1
- Replies: 4
- Views: 11704
We are loading and reading clob fields not blob fields, but can only assume they are the same thing. I'll tell you what we're doing; maybe it will help someone. We load XML into a CLOB field. To load the xml into a clob field we read an xml file from the server. The entire xml file is read into a fi...
- Thu Feb 17, 2011 7:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: PIVOT stage question
- Replies: 2
- Views: 1526
- Wed Feb 16, 2011 4:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: PIVOT stage question
- Replies: 2
- Views: 1526
PIVOT stage question
Hi, thanks for reading. Wondering if someone has tried the following with a PIVOT stage...or can help me with what I'm trying to do? Have one input record with 6 fields Field1 Field2 Field3 Field4 Field5 Field6 Need to create 3 records from one input record. Each output record will have two fields. ...
- Tue Feb 15, 2011 10:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SCD error - Updatable lookup requires sorted keys
- Replies: 9
- Views: 5803
Hi, in our case even with $APT_NO_SORT_INSERTION set to FALSE we still got the error. Tried link sorts, but the error didn't go away and the osh output didn't show a sort on the reference link. The error only goes away if we do an order by in the sql or add a sort stage between the db2 udb source an...
- Tue Feb 15, 2011 3:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get the last record in a sur key state file
- Replies: 2
- Views: 2202
How to get the last record in a sur key state file
Hi, anyone ever tried getting the last record in a surrogate key state file? I know I can use the sur key generator to view the file, but when I create a output link from the sur key gen stage I get all records in the file...only want the last value or record from the file and use it down stream. I ...
- Tue Feb 15, 2011 9:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SCD error - Updatable lookup requires sorted keys
- Replies: 9
- Views: 5803
Problem solved :D - Here is the error I was getting scdSetMessageStatus,0: Fatal Error: Updatable lookup requires sorted keys. - Here is how I fixed it We had a reference link going directly into the SCD stage. We put a sort stage on the reference link after the DB2 UDB stage and before the SCD stag...
- Mon Feb 14, 2011 4:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SCD error - Updatable lookup requires sorted keys
- Replies: 9
- Views: 5803