Search found 42189 matches

by chulett
Mon Dec 15, 2008 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Input column does not promote to output column
Replies: 5
Views: 4416

Must be. The column names don't need to match but all columns promote "positionally" so the input column type must be convertible to the output column type.
by chulett
Mon Dec 15, 2008 8:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deletion of Project does not remove all entries
Replies: 2
Views: 1336

You didn't "delete the project", all you've managed to do is corrupt it.Always always always delete from the GUI not from "under the covers". Here, that would mean the Delete button when logged in as the admin to the Adminstrator client.
by chulett
Mon Dec 15, 2008 8:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String Handling
Replies: 17
Views: 3912

When writing, 'string' columns are automatically quoted while 'numeric' fields are not. Why not simply try it and see if it works the way you need?
by chulett
Mon Dec 15, 2008 8:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI Date conversion failed
Replies: 8
Views: 5021

Yes, doing it right after the fact can be a little painful but would mean the problem would be solved forever, immune to any issues you are struggling with right now. Sure, that TO_CHAR() would force the results to be the same in both environments. You need to determine what is different between the...
by chulett
Mon Dec 15, 2008 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: not able to open oci stage
Replies: 8
Views: 1718

Old dog? Meet new trick. :wink:

Need to file this one away for future reference.
by chulett
Mon Dec 15, 2008 7:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence number
Replies: 9
Views: 2554

:!: Nit pick alert!

You do not need to specifically set an expression to "true" or "false", that is automatic when it is evaluated. So rather than the derivation posted for svInd, it can simply be:

Code: Select all

InRec.Col1[1,1]=6
FYI.
by chulett
Mon Dec 15, 2008 7:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get the Value of Project Environment Varaible in Job Control
Replies: 6
Views: 1414

Project parameters are environment variables, set in all jobs when they run. Double-click on the second log record from any job to see what I mean. Unless we have a different definition of "project parameter" that is. :?
by chulett
Mon Dec 15, 2008 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex file reading
Replies: 8
Views: 2350

You want to read a report, eh? You'll need to read it as one long varchar field, skipping and parsing it appropriately based on what you find in the first few characters of each record.
by chulett
Mon Dec 15, 2008 7:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting single column values(length not fixed)
Replies: 5
Views: 1571

For example:

Field(Link.N_NAME_SEEK,",",1,1) = First Name
Field(Link.N_NAME_SEEK,",",2,1) = Last Name
Field(Link.N_NAME_SEEK,",",3,1) = Title
by chulett
Mon Dec 15, 2008 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: spliting single column values
Replies: 9
Views: 2300

Sure, it can handle it pretty much as noted already unless you have no idea what the maximum number of delimited values in the second column might be. Otherwise, pick a max, split out the values to separate columns, pivot then filter out the null values.
by chulett
Mon Dec 15, 2008 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataInstaller for AIX machine
Replies: 2
Views: 856

There are separately licensed (and purchased) versions for Windows and every flavor of UNIX. And no, you cannot install Windows software on a UNIX machine. :?
by chulett
Sun Dec 14, 2008 8:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI Date conversion failed
Replies: 8
Views: 5021

What format do you actually want in the sequential file? If you want the YYYY-MM-DD format shown in your SQL, the data type would either need to be Varchar or Timestamp. The former you could use directly since there are no other data types in a sequential file while the latter would require removing...
by chulett
Sun Dec 14, 2008 4:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: unique surrogate key at a project level - across jobs
Replies: 4
Views: 1266

You might also consider reading the documentation on the stage. Crazy thought, I know, but it may actually help answer some of your questions.
by chulett
Sun Dec 14, 2008 8:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get the Value of Project Environment Varaible in Job Control
Replies: 6
Views: 1414

I'm curious how reading anything would corrupt it? :? Is there any thing similar to PX's GetEnvironment for the Server Edition or is there any other way to get it. Roll your own. It would be simple enought to "echo" whatever variable was passed in and return the value associated with it.
by chulett
Sat Dec 13, 2008 11:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Integer to Date conversion
Replies: 10
Views: 1936

In that case, using IConv only doesn't make much sense, but I'll take your word for it that it is actually working for you.