Search found 15603 matches

by ArndW
Tue Apr 18, 2006 7:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to stop a running job.
Replies: 7
Views: 1808

Prasanna2100 stated that u can go to UNIX kernel and KILL a running job from there . This statement is correct, but along the same lines you can also go to your server and pull the power plug; that will stop the job running as well. Doing either may result in more problems than you had when you star...
by ArndW
Tue Apr 18, 2006 6:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL(i.e. Blank)values are coming instead of flag values.
Replies: 8
Views: 2015

ISNULL(String1:String2:String3:String4) will return TRUE if any of the strings are null - this query would be more efficient than your initial OR ing construct. But you don't need to do that in this case, since you only return a 'Y' on a specifi condition, so a better form of your code is as follow,...
by ArndW
Tue Apr 18, 2006 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: passing invocation id through command line
Replies: 2
Views: 1325

Use "{JobName}.{InvocationName}"
by ArndW
Tue Apr 18, 2006 5:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: surrogate key generation in server jobs
Replies: 13
Views: 5269

But each run of your job will have @OUTROWNUM starting at 1 and counting up and this method will generate duplicate keys....
by ArndW
Tue Apr 18, 2006 4:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2UDB Enterprise error
Replies: 2
Views: 1188

Nitin, I took a look at your job (that project name was too familiar). Your source dataset has the column defined as CHAR(1) while in the database it is declared as a CHAR(8) and you have no modify stage or handler. Also, you are not doing a rejection stage coming out of your DB/2 stage to see if th...
by ArndW
Tue Apr 18, 2006 3:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage
Replies: 2
Views: 1518

Amit, it is a lot of work to put together a documented case of using a CFF with an example of copybooks and stages and that is really not the scope of this forum. The CFF hails from COBOL type data layouts and is most often used in that context, but can be used with other types of data. Let me ask y...
by ArndW
Tue Apr 18, 2006 2:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ftp'd fixed-width file has no data
Replies: 4
Views: 828

I'm not at a DS client to test this right now, but have you also specified the display width as well - as needs to be done with sequential files with fixed width?
by ArndW
Tue Apr 18, 2006 2:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL(i.e. Blank)values are coming instead of flag values.
Replies: 8
Views: 2015

Deepesh, use the builtin debugger in the Designer to go through your job's execution row by row to find out where your null value is being inserted into your data stream.
I hope this answer was taken with the high priority you expect for a non-charter member.
by ArndW
Tue Apr 18, 2006 12:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading in a binary file
Replies: 9
Views: 3954

It usually helps quite a lot when you know which HW and which language generated the file - i.e. with Cobol when you have "garbage" you can try an EBCDIC conversion to see if it makes more sense, and if that doesn't work you know that the binary is probably going to be some form COMPutational format...
by ArndW
Tue Apr 18, 2006 12:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: i enter year through parameter need all days to be dispalyed
Replies: 4
Views: 996

Chandra, even though Ray's answer is by far the easiest, there are a number of date functions available to you by using the OCONV function and the "D{options}" Date conversion. You can get your date formatted to WWW or even to the Chinese year names if you want.
by ArndW
Sun Apr 16, 2006 10:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: format string
Replies: 6
Views: 1564

You can use the derivation fmt(right(In.Column,10):"00000","15'0'R") to do what you asked.
by ArndW
Sat Apr 15, 2006 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: connecting/extracting from multiple schemas
Replies: 2
Views: 943

If yopu can execute this SQL statement with your query tool, then you can do so in PX as well.
by ArndW
Thu Apr 13, 2006 9:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ftp'd fixed-width file has no data
Replies: 4
Views: 828

What is the data defined as in the column page (type, length) and what did you set the fixed width to?
by ArndW
Thu Apr 13, 2006 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error in join stage
Replies: 5
Views: 1758

If you look at your job join stage "Join_28" is there a column called "Rate_WA" on either the input or output side? Is it part of your join key?
by ArndW
Thu Apr 13, 2006 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fuction
Replies: 5
Views: 1082

The Iconv and Oconv functions that do date transformations also return status codes telling if the conversion was successful, successful with warnings or unsuccessful. Using a mask of yyyymmdd the value of "00000001" would return an error, while "00000101" is a valid date.