Search found 6797 matches

by DSguru2B
Fri Jun 30, 2006 10:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

You mean something like this

Code: Select all

FMT(DSLink3.CURNT_BAL_AMT,"17'0'R0")
by DSguru2B
Fri Jun 30, 2006 9:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: inserts into oracle stage
Replies: 3
Views: 1190

So if i have understood your requirement correctly, the number of times a particular record will be inserted will depend upon a parameter value. Correct? A couple of ways, -look into the start loop and end loop activity in a sequence job. Run the same job n number of times -build your load ready fil...
by DSguru2B
Fri Jun 30, 2006 9:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To check the output file rowcount
Replies: 10
Views: 2409

I did not use any code to open the file like OPENSEQ. Ray suggested OPENSEQ if you want to use the STATUS command. This command will tell you if your file is of zero bytes or not. But you want to get the row count on a particular link using DS functions. So basically you dont need OPENSEQ command. ...
by DSguru2B
Fri Jun 30, 2006 9:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

Try this

Code: Select all


FMT(DIGITS(DSLink3.CURNT_BAL_AMT),"17'0'R")
by DSguru2B
Fri Jun 30, 2006 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: eMail attached file if record count is greater than zero
Replies: 7
Views: 2132

Welcome as in "Congrats in gathering up the courage and posting your very first message". :P
And o yea one more thing, "I saved a bunch of money by switching to geico" :wink:
by DSguru2B
Fri Jun 30, 2006 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Jobs not firing
Replies: 11
Views: 2091

What do you mean not respond? No effect at all. What about through the command line? When you go into the dirctor, whats the jobstatus there? Any funny log file messages?
by DSguru2B
Fri Jun 30, 2006 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Packed decimal data type from A flat file
Replies: 21
Views: 5706

What function are you using. Z in the field means its a signed number. The only function available for signed functions is DataTypePicS9().
by DSguru2B
Thu Jun 29, 2006 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: error, when running
Replies: 2
Views: 923

Check out this post.
by DSguru2B
Thu Jun 29, 2006 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: eMail attached file if record count is greater than zero
Replies: 7
Views: 2132

Welcome Aboard As Kris mentioned, you will need to write a Basic routine to handle this. Look into your BASIC guide and search for the STATUS command. Your concern will be the 6th field in the dynamic array that the STATUS command returns. Something like OPENSEQ Arg1 TO myfile ELSE CALL DSLogWarn...
by DSguru2B
Thu Jun 29, 2006 11:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a batch script in DataStage
Replies: 5
Views: 1760

First , does the batch script run when datastage in not involved (from command prompt).
If yes and you are absolutely sure that its not working from within datastage, then throw in info messages after every few steps to see where the script is breaking and why. This way you can debug it.
by DSguru2B
Thu Jun 29, 2006 10:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 10 Table Move
Replies: 7
Views: 1698

kcbland wrote: you're best to segregate extraction and loading processing not only for simplicity, but for ease in tuning, restart, etc.


Kumar i think the strongest reason is for modularization and restartabilty.
My 2 centy.
by DSguru2B
Thu Jun 29, 2006 10:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting a file into multiple files based on first column
Replies: 5
Views: 4173

If you want to keep everything in datastage, then go for Ken's suggestion.
by DSguru2B
Thu Jun 29, 2006 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 stage giving problems....
Replies: 3
Views: 2650

Here, take a look at this page on why that error occured and what to do to fix it.
by DSguru2B
Thu Jun 29, 2006 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting a file into multiple files based on first column
Replies: 5
Views: 4173

Welcome aboard Ram This is something that you want to keep outside datastage. Write a small shell script. That will get you going. From the top of my head, something like #!/usr/bin/ksh awk -F"|" '{ print $1 }' myfile.txt | sort | uniq > uniqfile.txt cat uniqfile.txt | while read...
by DSguru2B
Thu Jun 29, 2006 8:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert Error
Replies: 7
Views: 1271

What is meant by him is that re-design your job with a different logic. You are trying to insert a duplicate key which has a unique key index. This cannot be done. It would be only assumptions by posters if you donot post your job design and provide more information on it.