Search found 42189 matches

by chulett
Sat May 20, 2006 6:33 am
Forum: Site/Forum
Topic: Posts per day
Replies: 13
Views: 7111

And if you ever get to meet Ray, you can admire (to misquote the Clash slightly) his sitar pick'n thumb. :lol:
by chulett
Fri May 19, 2006 10:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number Formatting
Replies: 13
Views: 2932

Code: Select all

Fmt(Fmt(ResultsWrite2.LGD_CALC_VAL,"7'0'R"),"9'0'L")
by chulett
Fri May 19, 2006 8:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number Formatting
Replies: 13
Views: 2932

Why not just 'format' it twice, inline the two calls? Seems like that would work...
by chulett
Fri May 19, 2006 6:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number Formatting
Replies: 13
Views: 2932

Forgot to mention that 'FMT' will handle both of your examples: the zero padding and the 'descaling' of the decimal point.
by chulett
Fri May 19, 2006 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number Formatting
Replies: 13
Views: 2932

You can use the FMT function, check your online help. Off the top of my head there may not be a formatting option for a leading minus sign. If not, simply check if your value is < 0 and concatenate it on the front of your output field if so.
by chulett
Fri May 19, 2006 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting return code on warning greate than 10
Replies: 16
Views: 4315

The status is returned as 2 whether the job has more than the threshld number of warnings or not. If you look in Director the job logs a FATAL message 'issuing abort' after the number of warnings is exceeded but a few lines later is an INFO message stating the 'Parallel job reports successful compl...
by chulett
Thu May 18, 2006 11:43 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: specific function to add months in a date
Replies: 26
Views: 12686

Well... hopefully all your answers will help someone in the future. The original poster has moved over to the Server forum as they apparently posted here first by accident. Doh. :?
by chulett
Thu May 18, 2006 11:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Built in function to add months in a date
Replies: 8
Views: 2961

Answer my questions, please. Specifically, the two questions related to your definition of a 'month' and how you want to handle invalid day problems.
by chulett
Thu May 18, 2006 4:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: JRULES- SCHEDULER ERROR
Replies: 1
Views: 1353

Perhaps you could start by explaining what this 'other tool' is that you are using to run jobs and how exactly it 'runs' a job. If you run the job from Director, do it run correctly or does it crap out with the same error messages? I'd also be curious how you have 'JRules' - a BRM solution from ILOG...
by chulett
Thu May 18, 2006 3:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: format string
Replies: 3
Views: 979

The Field function is your friend. :wink:

Search here or in your online help for examples.
by chulett
Thu May 18, 2006 2:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data with Embedded Carriage Returns
Replies: 13
Views: 4121

Just curious because of your ^M comment. You probably aren't familiar with them as they come from a UNIX environment when a DOS file is sent in 'binary' format to UNIX. The terminators are not converted, so the 0A is seen as the terminator and thus the preceeding 0D (^M) is seen as data. Not somethi...
by chulett
Thu May 18, 2006 1:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data with Embedded Carriage Returns
Replies: 13
Views: 4121

This isn't about determining which carriage return is the 'right one'. All that setting controls is whether 'terminators' inside the field are considered data or if the record ends at that point... and what it considers 'terminators' are based on what 'Line Termination' style you select in the stage...
by chulett
Thu May 18, 2006 1:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data with Embedded Carriage Returns
Replies: 13
Views: 4121

The Sequential File stage has a column option for 'Contains Terminators', something you should check out. :wink:

Good luck with that delimiter.
by chulett
Thu May 18, 2006 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting return code on warning greate than 10
Replies: 16
Views: 4315

atulghate wrote:The return code is always set to 2 by dsjob command even though the job is aborted (if it is dues to excceded limit of warnings).

No, it's not - not if you use the -jobstatus option with dsjob. It will be a 2 if the job finished with warnings and a 3 if the job aborted.
by chulett
Thu May 18, 2006 7:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting return code on warning greate than 10
Replies: 16
Views: 4315

If the 'permissable limit' of warnings is only 10, then why are you allowing the job to generate 15? My assumption was you set your warning limit when running the job to 10, thus when it attempted to exceed that threshold the job would abort - not continue on. Then you can check the return status di...