Search found 6797 matches

by DSguru2B
Fri Apr 13, 2007 2:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Leap year
Replies: 11
Views: 4545

Why in the world are you sending bind variables to the select statement? Remove the colon sign before TO_CHAR
by DSguru2B
Fri Apr 13, 2007 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job debugging
Replies: 7
Views: 3916

Execution cannot be disabled, it can be constrained using a bunch of ways, including ones you mentioned. But it will be executed. Its not synonymous to C's #Ifdef and #ifndef.
by DSguru2B
Fri Apr 13, 2007 1:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job debugging
Replies: 7
Views: 3916

You can build a portion, test it, build another portion, test it. What exactly is the bottleneck. Share your design and system info with us. What you are trying to do etc.
You cannot selectively disable links and stages, other than sending nothing down a stream, using @FALSE constraint.
by DSguru2B
Fri Apr 13, 2007 1:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job debugging
Replies: 7
Views: 3916

I am confused. The phenomenon your are mentioning in C is during coding. You cannot code like that within constraints and stage variables. In a basic routine you have $DEFINE, $IFDEF, $ENDIF etc. which are listed in the BASIC.pdf that gets shipped with the product. You can go through it. If you expe...
by DSguru2B
Fri Apr 13, 2007 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Bulk load
Replies: 13
Views: 3483

Start over. Please supply the following:
- Source metadata
- Source sql
- Target metadata
- Target sql
- Job Design.
by DSguru2B
Fri Apr 13, 2007 1:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clearing HashFiles
Replies: 12
Views: 2327

Try the following

Code: Select all

PathedHFile="/apps/bea/pt848/psoft1/Ascential/DataStage/Projects/test/HashFiles/":InputArg
OpenPATH PathedHFile TO HashFile Else
End
CLEARFILE PathedHFile
Close HashFile


ErrorCode = 0 ;* set this to non-zero to stop the stage/job
by DSguru2B
Fri Apr 13, 2007 10:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clearing HashFiles
Replies: 12
Views: 2327

Now, you need to change OPEN to OPENPATH in the first line of the code that you provided, as now your working with pathed hashed files.
by DSguru2B
Fri Apr 13, 2007 10:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Bulk load
Replies: 13
Views: 3483

An insert is a DML statement. It will be a logged activity. A bulk load is not the same as insert. So you want to test the inserts. Take the same sets of data and test it out. It does not depend upon how many years of data you have. It depends upon a lot of factors like record byte size, netword tra...
by DSguru2B
Fri Apr 13, 2007 10:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Bulk load
Replies: 13
Views: 3483

OCI stage will not allow you to perform bulk loads as this option is not there in the OCI stage. Only with the ORA Bulk stage, which leverages the database's bulk load utility.
As for your error, search on the ORA code in google.
by DSguru2B
Fri Apr 13, 2007 9:38 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: Getting file names for Extracts
Replies: 3
Views: 2391

:oops: Did not pay attention to the forum, my bad.
by DSguru2B
Fri Apr 13, 2007 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Lookup
Replies: 4
Views: 1104

I dont see the connection in the dates. Is it the closest one to the incoming date ? Either way its a range lookup. Search the forums for advice on how to tackle range lookups.
by DSguru2B
Fri Apr 13, 2007 9:23 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: Getting file names for Extracts
Replies: 3
Views: 2391

Specifically thispost.
by DSguru2B
Fri Apr 13, 2007 9:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Lookup
Replies: 4
Views: 1104

On what basis do you want Record 2?
by DSguru2B
Fri Apr 13, 2007 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Leap year
Replies: 11
Views: 4545

Reference thiswebsite for logic. Incorporate that in a few lines of code in a routine. You can also do it in a stage variable.
by DSguru2B
Fri Apr 13, 2007 8:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: passing parameters from table.
Replies: 3
Views: 666

If you were to run a sql command from unix command line, how would you do that for sybase?
Wrap that in DSExecute() and you have yourself a routine. Search the forum for specific examples of how to use DSExecute().