Search found 74 matches

by Shruthi
Wed May 04, 2011 11:21 pm
Forum: General
Topic: Folder Name
Replies: 2
Views: 1775

Folder Name

Hi,

Is there a way to find a folder name given the job name. I have list of jobs, I want to find in which folder (Datastage designer), they reside?

Thanks
by Shruthi
Tue Feb 22, 2011 12:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Error
Replies: 2
Views: 2353

Thanks James. It worked! :D
by Shruthi
Tue Feb 22, 2011 11:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Error
Replies: 2
Views: 2353

Transformer Error

Hi, When does an error like this occur. APT_CombinedOperatorController(0),0: Field 'ColName' from input dataset '0' is NULL. I have the following condition in a Timestamp field of Transformer. If ColName='00000000' Or StripWhiteSpace(ColName)='' Then '' Else StringToTimestamp(ColName,"%yyyy%mm%...
by Shruthi
Tue Feb 08, 2011 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StringToDate conversion problem
Replies: 11
Views: 8750

If nothing of that is working, u can also do this

Code: Select all

StringToDate(ColName[1,4]:"-":ColName[5,2]:"-":ColName[7,2])
by Shruthi
Thu Feb 03, 2011 3:54 am
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 43539

Neednt pass anything. Leave it as default
by Shruthi
Thu Feb 03, 2011 3:27 am
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 43539

Thats right!

JobStartTS should be JobStarted
And JobEndTS should be JobEnd

Hope you got it Kiran
by Shruthi
Thu Feb 03, 2011 1:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rows are not inserting in Oracle Table
Replies: 9
Views: 5393

I guess the log would say why the records got rejected. What is the warning shown there?
by Shruthi
Thu Feb 03, 2011 1:36 am
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 43539

Here is the after job routine that would display job name, job start timestamp and job end timestamp in log $INCLUDE DSINCLUDE JOBCONTROL.H JobHandle = DSJ.ME JobName = DSGetJobInfo(JobHandle,DSJ.JOBNAME) JobStarted = convert(" :-","_",DSGetJobInfo(JobHandle,DSJ.JOBSTARTTIMESTAMP...
by Shruthi
Tue Feb 01, 2011 2:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejecting Null records
Replies: 15
Views: 8633

Do a view of this sequential file in Seq File Stage. Are these values getting read as NULL or Blanks.

What is the condistion you have given in Transformer.

Can you post your code here.
by Shruthi
Mon Jan 31, 2011 11:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Name Issue....
Replies: 6
Views: 4018

One another option is File Pattern.

You can choose "Read Method" property to "File Pattern" and File name as "*_Sample_File"

But this can be used if any specific pattern there in file.
by Shruthi
Mon Jan 31, 2011 2:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rejecting Null records
Replies: 15
Views: 8633

Try this.
StageVar:
If StripWhiteSpace(NullToEmpty(Input Col))<>'' Then If IsNotNull(Input Col) Then 0 Else 0 Else InputCol

Reject in Transformer where StageVar=0

Hope this works!
by Shruthi
Mon Jan 31, 2011 2:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal issue
Replies: 5
Views: 5604

You can give suppress_zero after conversion. This would result in 11302.06.

If you want to ginore only zero's in mantissa, then convert it to varchar again and trim zero's on the left.

Hope this helps!
by Shruthi
Fri Jan 28, 2011 9:51 am
Forum: General
Topic: Matching the records
Replies: 4
Views: 3112

Take the count of Field 3 in reference link and put it in one column, say A1.

In Transformer, extract srcA[1,A1] - extract the required substring and then do a lookup again to do comparsion.

Hope this works
by Shruthi
Thu Jan 27, 2011 2:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server timestamp truncation error
Replies: 3
Views: 6177

What is the value in the column?
Did you manually type the table definition?
If so, do it using import table definition for both source and target.
This might solve
by Shruthi
Mon Jan 24, 2011 11:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture Log and store it into Db2 DB
Replies: 6
Views: 4115

This can be done in after job routines. You can use DSGetLogSummary and connect to database to add entry in DB2 tables.