Search found 6797 matches

by DSguru2B
Thu Apr 05, 2007 9:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: transform rows to columns end record value to null
Replies: 8
Views: 2034

I say, use stage variables and keep concatenating the inputs. Use field() function to parse the fields you require. Your output will be a single column. Other way that I can think of is by using awk.
by DSguru2B
Thu Apr 05, 2007 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings for decimal fields
Replies: 18
Views: 10089

chulett wrote:Precision and Scale. :wink:

Hehe. I meant actually the value that is supposed to be.
Is it really (38,10) ? How do you know the scale is 10 ?
by DSguru2B
Thu Apr 05, 2007 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capture Universe SQL executed on the client
Replies: 6
Views: 1649

Stick to the supported api's or command line dsjob commands with the right argument. Utilizing the parsing power of shell scripts and other unix utilities like awk, sed etc.
These will still exist even in 8.0 but the sql might change.
by DSguru2B
Thu Apr 05, 2007 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execution order
Replies: 3
Views: 1215

chulett wrote:Do I pass? :wink:


Looking at Ray's reply, I say you pass :wink:
by DSguru2B
Thu Apr 05, 2007 9:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored procedure using SQL Server
Replies: 2
Views: 1033

Go for Craig's second solution. Execute the stored proc. in a .bat or .cmd file using osql and redirect the output to a file. Read the flat file in your datastage job.
by DSguru2B
Thu Apr 05, 2007 9:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings for decimal fields
Replies: 18
Views: 10089

What is x and y supposed to be in Decimal(x,y) ???
by DSguru2B
Thu Apr 05, 2007 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Upsert Error
Replies: 5
Views: 1219

Does your id have load permissions to the table? Extracting data just means you have select permissioins, not necessarily insert/update permissions. Verify it from your dba.
by DSguru2B
Thu Apr 05, 2007 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Possibility of running many Mutiple Instances concurrently
Replies: 13
Views: 4075

The best way to find out is to try it out. Run , say 10 instances at the same time. If you are satisfied, start incrementing the number of simultaneous instances. Stop at a point where you find that the process is struggling. Experiment it out. No one can tell you as only you know your system best.
by DSguru2B
Thu Apr 05, 2007 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings for decimal fields
Replies: 18
Views: 10089

Import the metadata with orchbutil. That is more accurate. Before that, change the scale to 0 and see if that helps.
by DSguru2B
Thu Apr 05, 2007 6:59 am
Forum: General
Topic: Adding enviornmental Variable
Replies: 18
Views: 5692

Its similar to passing values between jobs. Write your value to a flat file and in the sequence job activity, define a parameter to the job that needs to read that value. In the derivations you can call a small routine that cats the file and reads its contents using DSExecute().
by DSguru2B
Wed Apr 04, 2007 5:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: handling decimals
Replies: 6
Views: 1890

Decimal by property will save the leading space. So you will have to process it somehow, somewhere to get rid of it. Unless you explicitly change the data type and trim the space.
by DSguru2B
Wed Apr 04, 2007 5:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence number in Oracle DB
Replies: 5
Views: 1456

Madhusv wrote:There are routines KeyMgtGetNextValue and KeyMgtGetNextValueConcurrent, You can use this to genrate sequence in server jobs

The routines mentioned above will help you if you are on server edition.
If px, the follow Craig's advice. As both the advices are specific to the edition your working on.
by DSguru2B
Wed Apr 04, 2007 4:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp
Replies: 14
Views: 3828

Yea, I didnt get the question either :?
by DSguru2B
Wed Apr 04, 2007 4:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: db2 lookup refresh
Replies: 7
Views: 1738

Let me give you an example: Few records come in with keys 1 and 2, 1, 3 you do a lookup on your hashed file, it loads 1 and 2, now for 1 it will see that its already present hence it will be updated. Isnt that what you originally wanted. Commit each record, read and do comparison. Tell us why you wa...
by DSguru2B
Wed Apr 04, 2007 11:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: db2 lookup refresh
Replies: 7
Views: 1738

An insert update to a table is the same as writing to a hashed file. If the key does not exist, it will be inserted, if it exists, it will be overwritten (update). So whats the matter.