Search found 15603 matches

by ArndW
Wed Oct 19, 2005 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 10 pounds in a 5 pound bag
Replies: 28
Views: 5576

Craig, Most of available address space in a text field is unused, i.e. normally strings only use half of their possible values. This would be the easiest approach. I once write a Huffmann-encoding in BASIC, but don't have the code anymore. I think I could rewrite it in a day or three. This does the ...
by ArndW
Wed Oct 19, 2005 7:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage installation
Replies: 10
Views: 2658

No, but of course the client can't connect to anything until you have the server up and running.
by ArndW
Wed Oct 19, 2005 7:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ebcdic and sequential file
Replies: 2
Views: 1198

I think that you are attempting to set an NLS map that doesn't exist. You specify the EBCDIC conversion in either the string type defaults or in the column definitions and this attribute is completely independant of any NLS settings.
by ArndW
Wed Oct 19, 2005 7:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while converting into date to string format
Replies: 4
Views: 1011

Kumar,

using a lookup file/table would work, but would be much slower. I think that an IF...THEN...ELSE construct would also work, and would be fast if you could order the statements by order of frequency.
by ArndW
Wed Oct 19, 2005 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Probably very simple answer
Replies: 6
Views: 1479

The missing columns setting will solve this, but you need to start at the last column and work your way back until you get to a column which cannot be missing. Also, are you telling it to ignore errors or drop rows?
by ArndW
Wed Oct 19, 2005 6:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage unable to write into the Sequential files
Replies: 6
Views: 3785

Change the stage to a peek stage and see if the data looks like what you expect; perhaps some values are incompatible with the PX settings (nullability is a common cause) and are keeping the records from being written. Usually these messages can be seen in the director (but sometimes they are very w...
by ArndW
Wed Oct 19, 2005 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while converting into date to string format
Replies: 4
Views: 1011

Hiten,

PX has no built-in function to do this; you could either write your own in C++ or you would need to code it into the job. The following would work:

Code: Select all

Field('January,February,March,...",",",MonthNumber)


MonthNumber is the extracted month from the date.
by ArndW
Wed Oct 19, 2005 6:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage unable to write into the Sequential files
Replies: 6
Views: 3785

No limits of the type you are looking for exist. How are you ascertaining that the records aren't being written to the sequential file? Does the designer "view data" show anything? Does the Job Director log actually state the n-rows were written?
by ArndW
Wed Oct 19, 2005 2:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time and TimeStamp with microseconds
Replies: 20
Views: 10190

Hello Carter, the case is open with Ascential, but now that you brought the subject back up I realized that I haven't followed through on this. So far I haven't gotten it to work. The temporary workaround in use is that the developer has written the data to a flat file as a string (he's put the time...
by ArndW
Tue Oct 18, 2005 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function for binary format
Replies: 3
Views: 746

Hiten, the Parallel Job Developer guide lists the builtin functions available in PX. There are different function for different stages (and even different syntax and options for the same function in different stages) and are documented there. The c++ issue is a bit different, but using the search op...
by ArndW
Tue Oct 18, 2005 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Switch
Replies: 5
Views: 1365

LegendKiller,

you are correct, the modulo goes from link number 0 to {n-1}.
by ArndW
Tue Oct 18, 2005 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Server job (Sequencer not compiling)
Replies: 5
Views: 2914

Kalyan, the first problem you had was most likely a locking issue, i.e. if your client is terminated unexpectedly while editing this sequence. The problem I think you have caused is more severe. I am assuming that you went to UNIX and did a 'rm -r RT_CONFIG396' which removed it from the OS but corru...
by ArndW
Tue Oct 18, 2005 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while handling Null values
Replies: 12
Views: 5133

hhh, in order to compute an AND condition both elements need to be evaluated, so you are going to perform an illegal operation on a null value in your query. Change it to if isnotnull(P_MKTPRC_BAM) or P_MKTPRC_BAM => 0 Then '+' Else '-' if you really want to keep your original design, but the second...
by ArndW
Tue Oct 18, 2005 3:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function for binary format
Replies: 3
Views: 746

The CRC32 function does more than convert data into binary - it compresses it into 4 bytes regardless of string length. PX has a number of builtin conversions to and from binary as well. Are you looking for a particular function or just asking a general question? In addition to the builtin functions...
by ArndW
Tue Oct 18, 2005 3:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage phantom error
Replies: 14
Views: 5746

Most likely you have misspelled one of the parameter names, that would explain the error. Variable names such as parameters are case-sensitive. If you can't find the problem, replace the parameters with constant values until the error goes away.