Search found 238 matches

by dodda
Sat Oct 24, 2009 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-01036: illegal variable name/number while running job
Replies: 5
Views: 2292

ORA-01036: illegal variable name/number while running job

Hi all, I got below fatal error while i tried to running a datastage error. I'm able see the data through viewdata in oracle datastage. ORA-01036: illegal variable name/number. Iam performing the reference lookup on the following SQL which is UserDefined from Table and columns SELECT MAX(CUST_KEY) a...
by dodda
Fri Oct 23, 2009 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncate table then insert rows and Clear table then insert
Replies: 3
Views: 2336

Truncate table then insert rows and Clear table then insert

Hi All,

Can anyone provide some information about Truncate table then insert rows and Clear table then insert rows in oracle stage.

And kindly let me know will give better performance if the target table has more number of rows.

I appreciate your help.
by dodda
Wed Oct 21, 2009 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 6
Views: 1903

ray.wurlod wrote:Server job (as marked) or parallel job (as posted) or sequence?
Sorry this is a server job
by dodda
Wed Oct 21, 2009 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 6
Views: 1903

What have you tried? IConv/OConv can handle getting your Date into the same format as your Timestamp but how will you handle the 'compare'? Meaning, will you need to convert your constant date to a zero time timestamp or do you need to compare it to just the date portion of the timestamp? Hi Chulet...
by dodda
Tue Oct 20, 2009 9:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 6
Views: 1903

Date Conversion

Hi I have a scenario where i have to convert a string ( which is constant and in the format 31-DEC-1981) to Date and compare that value with a Field which has been defined as Timestamp data type on the source side. My design looks like Oracle---Transformer----Oracle Timestamp field from the source i...
by dodda
Tue Oct 06, 2009 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String toDate conversion
Replies: 3
Views: 1455

Thanks for your reply Chulett. But the problem is my input String format is DD-MMM-YYYY format. Wondering if this format supports datastage. inString=12-JUN-2005 I did StringToDate(inString,'dd-%mmm-%yyyy'). The output Date i got was 2005-06-01. This doesnt match with what i require. Please help me
by dodda
Fri Oct 02, 2009 1:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String toDate conversion
Replies: 3
Views: 1455

String toDate conversion

Hello

I am reading String value as varchar from File and i need to convert that string to Date.

My input String =01-MAR-2008
My output should be=01-03-2008

Is there any functions other that StringtoDate.

Thanks
by dodda
Wed Sep 23, 2009 8:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spaces in the File
Replies: 7
Views: 2867

hi chulett,

I have mentioned the Final delimiter=end. I havent used any field defaults.
by dodda
Wed Sep 23, 2009 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spaces in the File
Replies: 7
Views: 2867

Hi Chulett,
My source File is ; delimited File.
by dodda
Wed Sep 23, 2009 2:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spaces in the File
Replies: 7
Views: 2867

The output i am getting in the target seq file is
abc def ghi jkl
by dodda
Wed Sep 23, 2009 2:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spaces in the File
Replies: 7
Views: 2867

Spaces in the File

Hello I have a scenario where my input File is delimited by ; and i need to produce a fixed width file. I am using seqfilestage---colimport stage---transformer-seqfile My input File looks like below with each field delimited by ; abc;def;ghi,jkl now iam parsing the four Feilds via Column import stag...
by dodda
Tue Sep 22, 2009 11:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Left Pad zeros
Replies: 1
Views: 9476

Left Pad zeros

Hello I have a number Field as 000000000063.00. the total length is 15. My source is File target is File. I am reading that number Field from File as Varchar. If that number Field length is less than 15 then i need to Left pad that number with zeros to make the lenght to 15. i.e if my source value i...
by dodda
Wed Sep 09, 2009 11:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: abort job based on condition
Replies: 6
Views: 2028

Hi

i tried with same what you have mentioned. The job Still Fails even if the REJCOUNT is equal to 0. am i missing some thing
by dodda
Wed Sep 09, 2009 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: abort job based on condition
Replies: 6
Views: 2028

Hi
Thanks for your response . Here i will be getting only 1 row. In that Row the column REJCOUNT value might be 0 or more than 0. I want to abort only if REJCOUNT value is greater than 0.

Thanks