Search found 25 matches
- Tue Jan 15, 2013 8:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unable to run a SQL statement
- Replies: 5
- Views: 1903
- Tue Jan 15, 2013 6:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unable to run a SQL statement
- Replies: 5
- Views: 1903
Unable to run a SQL statement
Hi, I am calling a SQL query which has a FUNCTION (DERIVE) in the Oralce OCI stage (Custom SQL statement). The query is running fine from command line. -- SELECT TABLE_ID, CC_ID, CC_TEST.DERIVE(TN||T_CODE) AS CC_ID_NEW FROM VEN_DETAILS WHERE REGION IS NOT NULL AND (NVL(CC_ID,0) <> NVL(DERIVE(TN||T_C...
- Thu May 24, 2012 4:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
- Thu May 24, 2012 4:17 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
- Thu May 24, 2012 3:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
- Thu May 24, 2012 1:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
- Thu May 24, 2012 12:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
- Thu May 24, 2012 11:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
- Wed May 23, 2012 9:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To transform data and carriage return
- Replies: 16
- Views: 8614
To transform data and carriage return
Hi, I am facing an issue - can you please help. KEY DESC DATE 123 AAA 1/05/09 123 BBB 5/24/11 123 CCC 2/22/12 452 AA 5/2/04 452 BBB 3/6/06 631 AAAA 5/6/10 I have sorted the data on KEY and obtained as below 123 AAA|1/05/09,BBB|5/24/11,CCC|2/22/12 452 AA|5/2/04,BBB|3/6/06 631 AAAA|5/6/10 I am struck ...
- Wed May 23, 2012 9:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field Function
- Replies: 9
- Views: 4266
- Wed May 23, 2012 9:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field Function
- Replies: 9
- Views: 4266
- Wed May 23, 2012 8:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field Function
- Replies: 9
- Views: 4266
Your Field() function call is syntactically correct. Is your target a sequential file? If so, then you need to use CHAR(10) as the record delimiter. If not, you need to give us a better explanation of exactly what it is you are trying to accomplish, i.e. what your requirement is. My Target is an Or...
- Wed May 23, 2012 8:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field Function
- Replies: 9
- Views: 4266
Hi, This actually worked with a Field function. there was some issue with the delimiter I'm passing in and I corrected it. Now, I have another issue in-line with this. the RECORD values varies and it has a comma as a delimiter as rec1,rec2,rec3,rec4.....and so on. Can you please suggest how can i pu...
- Wed May 23, 2012 6:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field Function
- Replies: 9
- Views: 4266
- Wed May 23, 2012 6:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field Function
- Replies: 9
- Views: 4266
Field Function
Hi, I have a requirement to separate out record which has a comma in it. RECORD: rec1,rec2,rec3 the output I need be rec1 rec2 rec3 I tried to read the RECORD using filed function as Field(RECORD,',',1):CHAR(13):Field(RECORD,',',2):CHAR(13):Field(RECORD,',',3) And the server is LINUX But, I am unabl...