Search found 6797 matches

by DSguru2B
Tue Mar 20, 2007 12:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing Positive decimal with + sign
Replies: 13
Views: 3629

dsedi wrote:If the inputcolumn is Zero's then it's writing as +0000000.00 which is fine.

You sure thats ok. Zero is neither negative nor positive. Double check with your business if thats acceptable.
by DSguru2B
Tue Mar 20, 2007 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Blank "Timestamp" field shows *****
Replies: 9
Views: 1728

You need to do type conversions. If the file was created by a server job, everything is a string. For Date fields you need to specify StringToDate(). Handle nulls before that.
by DSguru2B
Tue Mar 20, 2007 11:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Runtime Column propagation
Replies: 2
Views: 954

I havent worked with rcp but if you have to do perform any transformations, then you need to explicitly define those columns. Someone needs to confirm this.
If they are simple transformations like null checks and trimming you can utilize sed,awk for that. Search in google for more details.
by DSguru2B
Tue Mar 20, 2007 11:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Blank "Timestamp" field shows *****
Replies: 9
Views: 1728

Are you doing any type conversions for this particular column? Give us more info on your design.
by DSguru2B
Tue Mar 20, 2007 11:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing Positive decimal with + sign
Replies: 13
Views: 3629

Also as suggested earlier, do the DecimalToString() in a stage variable so that it gets executed once per row, instead of three times as per your code. What Sainath.Srinivasan was saying is if the number is less that 0, which is a negative number then pass it as it is else append the positive sign. ...
by DSguru2B
Tue Mar 20, 2007 9:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check for existence of a file
Replies: 7
Views: 1680

Welcome Aboard :)
Do the same thing in a sequence job. Use wait for file activity to see if a file is present and then branch your execution accordingly.
by DSguru2B
Tue Mar 20, 2007 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when using user defined env variable in transformer
Replies: 2
Views: 760

In order to get the value of an environment variable, use GetEnvironment(%envvar%) which is present under functions->Utility.
by DSguru2B
Tue Mar 20, 2007 9:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: performance statistics
Replies: 9
Views: 4649

Read about dsjob command in developers guide under command line. Its basically run at the unix level. dsjob -report will give a report of the job that will contain the start time, end time, the elapsed time, job status etc.
by DSguru2B
Tue Mar 20, 2007 8:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: performance statistics
Replies: 9
Views: 4649

If the dsjob command is the same for 8.0 as well then you should look at dsjob -report and get all the information from there. Go through the manuals, there should be more in-built reporting abilities of 8.0
by DSguru2B
Tue Mar 20, 2007 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing pattern as a Job parameter
Replies: 4
Views: 1257

Ray already did give you a much simpler solution.
by DSguru2B
Tue Mar 20, 2007 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looking for help on a function
Replies: 3
Views: 895

You are right. It does not have any documentation on those two functions. O well, CurrentDate() gives the current date and CurrentTime() gives the current time. If you need more info on them, search the forums.
by DSguru2B
Tue Mar 20, 2007 8:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange Logic
Replies: 15
Views: 3174

Run in sequential mode and filter out all records that are empty in the second column. This will leave you with all records that have data in the second column including two or more adjacent rows with Property in the first column. Pass it through the transformer see if you have adjacent rows with sa...
by DSguru2B
Tue Mar 20, 2007 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generating Multiple Rows from single row
Replies: 6
Views: 2159

You can also write a small routine to intake all the columns and depending upon the number of duplicate records to be created, generate the rows and send it back.
by DSguru2B
Tue Mar 20, 2007 7:49 am
Forum: General
Topic: Merging Records
Replies: 30
Views: 8622

Thats even more confusing now. Where is File B's data. Use 'code' tags to maintain formatting.
by DSguru2B
Tue Mar 20, 2007 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: main_program: Fatal Error: Source "<Field> is alr
Replies: 7
Views: 2968

Yes, right. It works if its readonly and protected but not the other way around. To be really honest, thats odd. Are all the jobs containing that particular column giving you this kind of behaviour or just some jobs? I think you should get in touch with support.