Search found 15 matches

by karthikdsexchange
Wed Nov 23, 2011 6:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Import warning
Replies: 8
Views: 3476

So is it working now or still issue?
by karthikdsexchange
Wed Nov 23, 2011 6:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Import warning
Replies: 8
Views: 3476

Re: Sequential File Import warning

Is the first line in the file has column names?
by karthikdsexchange
Wed Nov 23, 2011 5:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: $APT_PM_PLAYER_TIMING
Replies: 1
Views: 2111

$APT_PM_PLAYER_TIMING

How we can use $APT_PM_PLAYER_TIMING to identify the cost of CPU time for each stage in the job?
by karthikdsexchange
Tue Nov 22, 2011 6:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion of string to Timestamp
Replies: 5
Views: 9455

Use the following code..
If (IsNull(Column) Or Column = '') Then SetNull() Else StringToTimestamp(Column:' ' :'00:00:00',"%yyyy-%mm-%dd %hh:%nn:%ss")
by karthikdsexchange
Tue Nov 22, 2011 5:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date
Replies: 11
Views: 6912

Use stage variable which will do the check on the length of the string.
If length is 10 use same date else 0:date
In the ETL translation, use the function StringToDate.
I recommend this way to make debugging easy for you. Use this as tip.
by karthikdsexchange
Tue Nov 22, 2011 5:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert Multiple rows into a oracle table
Replies: 2
Views: 2588

Re: Insert Multiple rows into a oracle table

The stage in sequential mode will wait till all records are processed and avaliable, then stage will process them and avaliable for next link. So you are using the copy stage with sequential mode. So it is using same ES_ID I guess. Use this as a tip.
by karthikdsexchange
Tue Nov 22, 2011 5:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date
Replies: 11
Views: 6912

Re: Date

StringToDate('03/21/2011',"%mm/%dd/%yyyy") . This will do.
Initially please know the format of your D_TRADE_DATE.
Then it will be easy for conversion.
For that use peek to debug the date format.
by karthikdsexchange
Tue Nov 22, 2011 12:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Stage Error
Replies: 1
Views: 11678

Re: Oracle Stage Error

one of your timestamp column in the OC is not accepting the value, as the value is not a valid timestamp.
by karthikdsexchange
Fri Nov 11, 2011 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to abort job with the condition in the Transformer
Replies: 2
Views: 1785

How to abort job with the condition in the Transformer

"How to abort DS job when the condition in Transformer stage is not met".

When I execute the job I want to pass in a number parameter ie. 100 and then to check if that number matches with the input file count in the job. If it does, I want the job to continue otherwise to abort?
by karthikdsexchange
Thu Nov 10, 2011 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message: ORA-08103: object no longer exists.
Replies: 6
Views: 6319

Job2 is loading the data into table2.

sql is using table2 and if load complete, it can see the object. If not, it says "object no longer exists".
by karthikdsexchange
Thu Nov 10, 2011 6:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message: ORA-08103: object no longer exists.
Replies: 6
Views: 6319

Issue resolved.

In the sequence, there are four jobs (they all in parallel.) and the one I got issue is using the result of the second job.

Thanks.
by karthikdsexchange
Thu Nov 10, 2011 5:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message: ORA-08103: object no longer exists.
Replies: 6
Views: 6319

Error message: ORA-08103: object no longer exists.

I'm getting following error and failing the seuencq first time and when I restart the sequence, it's finishing succesfully. DB_WB_SRC02,0 (Object : Oracle Connector name) : The OCI function OCIStmtExecute returned status -1. Error code: 8,103, Error message: ORA-08103: object no longer exists. (CC_O...
by karthikdsexchange
Mon Aug 17, 2009 7:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Integer
Replies: 4
Views: 3668

Re: String to Integer

Try with the following code.
It works fine for me.
If DSLink3.count = AsInteger(StringToDecimal(TrimLeadingTrailing(DSLink3.value))) Then "Y" Else "N"
by karthikdsexchange
Mon Aug 17, 2009 12:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read a text file of 5GB
Replies: 24
Views: 11824

Re: How to read a text file of 5GB

Use fileset stage instead of sequential file stage in your job as source reader. Can anyone let me know,how can we process a text file that is pipe delimited and is of more than 5GB in size. Other than splitting the files into multiple is there any other way/stage through which the file can be read ...