Search found 40 matches
- Thu Jul 31, 2008 1:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: stringtodecimal
- Replies: 5
- Views: 3643
Re: stringtodecimal
Hi Ray, How are you doing. It is a paralled job. I have my job like this in seq stage Col1 Varchar(256) 0.0 0001.09130000000000000000000000000000012 9999999999999999999999.99999999999999999999999999999999 123456.1234567 Tranformer Out col1 Decimal(10,10) col1 = StringToDecimal(col1) Peekstage out pu...
- Sat Jul 26, 2008 10:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: stringtodecimal
- Replies: 5
- Views: 3643
stringtodecimal
Hi I am trying to convert a string1 varchat(256) = 010.0009898878999890 to field1 decimal(20,20) .I used stringtodecimal(string1,"ceil") function for field1 derivation. getting 100e23 when trying to see in the sequential file(even using vi editor or cat) or dataset. I think I can resolve t...
- Thu Jul 17, 2008 4:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Type Check functions
- Replies: 1
- Views: 1084
Type Check functions
what are the datatype check functions available in 8.0 transformer.
like Isnumeric,Isalpha,Isdate etc.,
like Isnumeric,Isalpha,Isdate etc.,
- Thu Jul 17, 2008 2:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2API stage
- Replies: 2
- Views: 1330
DB2API stage
Hi
I am trying to get the data from DB2 using API stage .
I am selecting a field datatype is date and in result it showing the date as below.
14792 (2008-06-30)
But I am expecting only (2008-06-30).
Please let me know how can I eliminate the Internal date representation(14792)
Thanks
I am trying to get the data from DB2 using API stage .
I am selecting a field datatype is date and in result it showing the date as below.
14792 (2008-06-30)
But I am expecting only (2008-06-30).
Please let me know how can I eliminate the Internal date representation(14792)
Thanks
- Mon May 05, 2008 9:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert Single char to multiple chars
- Replies: 9
- Views: 3450
- Mon May 05, 2008 7:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert Single char to multiple chars
- Replies: 9
- Views: 3450
Convert Single char to multiple chars
Hi Please help me in handling this conversion I would like to convert single char to 3 or 4 character in a string. Ex: if I have string like below 'test convertion from and symbol to may&be or & and percentage to may%be or % ' That Should be converted to 'test convertion from and symbol to m...
- Wed Apr 16, 2008 9:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
- Wed Apr 16, 2008 9:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
Hi Craig, I tried this one also but its giving error at compile as Exprected:expression Then I replaced <> with [] and compiled. ( I am using Version '8') UpCase(trim(Execute_Command_16.$CommandOutput<1>)) = 'XML' also tried Substrings(UpCase(Trim(Execute_Command_0.$CommandOutput )),1,1) = 'X' Subst...
- Wed Apr 16, 2008 8:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
- Wed Apr 16, 2008 8:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
- Tue Apr 15, 2008 10:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
Hi Craig, Thanks for solution. I got one problem in comapring the script out put. The out put of th script is not matching with my condition though the output is same as I have given in the condition. It is not executing the link with condition which should be true but executing other link(DSLink2)....
- Tue Apr 15, 2008 9:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
Routine to read file and return value
Hi Craig,
Could you please tell me how to write a parallel routine to Read the below file \data\outfile.txt and "field 2" value of the first line.
outfile.txt file contents:
Craig,2,91883
Roy,2,909-88
john ckenix,2,23411
smith,2,12142
Could you please tell me how to write a parallel routine to Read the below file \data\outfile.txt and "field 2" value of the first line.
outfile.txt file contents:
Craig,2,91883
Roy,2,909-88
john ckenix,2,23411
smith,2,12142
- Mon Apr 14, 2008 3:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
- Mon Apr 14, 2008 11:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence execution contrl based on file data value
- Replies: 14
- Views: 4115
Sequence execution contrl based on file data value
Hi, Please help me creating a sequence that will execute based on the value of the file generated in the process. We have 3 jobs. job1, job2 and job3. Job1 will read source and write to a sequence file. sequence file will have one field called TYPE. It will containe 1 or 2 for all the records in the...
- Fri Apr 11, 2008 1:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Quote char handling
- Replies: 4
- Views: 1198
Handling quotes and special characters
I have both quotes ' " in the value sting. ex: ' "&fieldname#1"="rama's" ' Please let me know how to handle these quotes and special characters.