Search found 4992 matches

by kcbland
Fri Mar 18, 2005 11:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: question regding if then else
Replies: 12
Views: 7123

Sure... more like this is how I do it: if <condition> then <expression1> <expression2> else <expression3> <expression4> end It's end else if <condition> then <expression1> <expression2> end else <expression3> <expression4> end [/quote]
by kcbland
Thu Mar 17, 2005 9:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashfile Issues
Replies: 2
Views: 731

It's a quirky thing, but yes a column in a multi-column key can be null. The "nullable" metadata doesn't matter. If you don't want these rows, you must put a constraint in to check for these. If a hash file only has one column as a key, it cannot be null. The rationale is that a multi-column key is ...
by kcbland
Thu Mar 17, 2005 8:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with scheduling a job
Replies: 3
Views: 942

Code: Select all

man at


Code: Select all

man cron


Google cron
by kcbland
Thu Mar 17, 2005 8:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Incomplete Column
Replies: 4
Views: 1101

Use replace option and use replacement value of something like "XXXXYYYYYZZZ" or something very noticeable and unlikely to appear in the missing column. Then, put a constraint on the following transformer to place the rows that have that column value in your reject file.
by kcbland
Thu Mar 17, 2005 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: setting a specific rollback segment
Replies: 8
Views: 816

You have before and after SQL statements at your disposal, stored procedure based loading, as well as user-defined SQL. Pick your preference.
by kcbland
Thu Mar 17, 2005 2:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Computing RowLength of Link
Replies: 1
Views: 489

The length check only works if your columns have fixed widths and the missing column is actually NULL or blank. If the result of the CFF conversion is fixed width file, you may consider just reading that fixed width file as a single column, that way you only have a single column to check for length ...
by kcbland
Thu Mar 17, 2005 11:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Commmit in ORA
Replies: 3
Views: 603

You are correct, why do you think it's not working?
by kcbland
Thu Mar 17, 2005 11:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC
Replies: 1
Views: 332

Look at any date columns and make sure the to_date statement is used on the SQL to insert the data.

Why are you using the ODBC stage and not the Oracle stage?
by kcbland
Thu Mar 17, 2005 10:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange Job Status
Replies: 2
Views: 517

You probably had a previous run of the job fail leaving a stage thread still active. When you started the job again, that thread interfered with the execution of the job. It probably didn't allow the new thread for that stage to start, and so your job picked up the old thread as its own. You might w...
by kcbland
Wed Mar 16, 2005 9:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job control
Replies: 9
Views: 2964

You can do anything. There are documented APIs to lock, set, and run jobs according to the methods you want. Do you want to read a file, get a list of jobnames to run, run those jobs, send emails letting people know jobs are done, compress and cleanup your work area? All it takes is planning what yo...
by kcbland
Wed Mar 16, 2005 9:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer Stage
Replies: 8
Views: 764

Add the filename as a job parameter, for example. FRED. At runtime, supply FRED a value using the smart job control you are working on. In the Sequential stage under the filename, use FRED like this: /path/path/path/#FRED#.dat or you can have the path already in the parameter value so just: #FRED#.d...
by kcbland
Wed Mar 16, 2005 9:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job control
Replies: 9
Views: 2964

I'm still quite new to datastage, but I don't believe this can be done in a job sequencer unless you make a job for each source file (can be tedious). Ohayo gozaimasu. The Sequencers graphical metaphor basically requires an icon per job controlled. This works well for just a few jobs in a jobstream...
by kcbland
Wed Mar 16, 2005 9:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Folder
Replies: 2
Views: 717

No, you cannot FTP a folder using the FTP stage. If you remember, we have spoken at length that the FTP stage is a remote file reader, not a file mover. Recursely transfering files and paths involves creating directories, changing directories, moving files by reading them involves varying file forma...
by kcbland
Wed Mar 16, 2005 8:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job control
Replies: 9
Views: 2964

Go into DataStage Director. From the menu, do Tools --> Batch ---> New. This opens a dialog box that allow you to create a "Batch" type job. From the Add Job pull down box, experiment and choose a job. You will see job control logic appear in your properties box. Press the Close button and the job w...
by kcbland
Wed Mar 16, 2005 8:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer Stage
Replies: 8
Views: 764

Only if you used a job parameter as the filename, then the job parameter is also available in the transformer. Otherwise, unless you are willing to use an reverse-engineered method for retrieving job design information, no.