Search found 4992 matches

by kcbland
Mon Jul 03, 2006 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading 4 rows as one
Replies: 5
Views: 1617

If the rows are in a table, you're going to have to group and merge into a single row using SQL. Or, if it's in a file, you're going to have to use an Aggregation step to merge the rows.
by kcbland
Sat Jul 01, 2006 1:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

The missing piece was that DS Server arbitrarily enforces the data type in the metadata. Sequential file stage will apply decimal and scale metadata, so when changing the data to be character based you must remember to change the metadata.
by kcbland
Sat Jul 01, 2006 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: script to delete jobs
Replies: 21
Views: 4053

When we post something here, it will live on for years. A new member can find one of our posts and try to do something like delete a job programmatically. There's some liability on our part if someone destroys an entire project by doing something they found here. If you notice, all of the internals ...
by kcbland
Fri Jun 30, 2006 5:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: script to delete jobs
Replies: 21
Views: 4053

What language was that :?:

How about, we're loathe to tell people how to tip-toe thru a minefield, becuase 9 out 10 times folks don't follow our directions exactly.
by kcbland
Fri Jun 30, 2006 1:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a left buffer on a column
Replies: 14
Views: 3001

You need to multiply by 100, then pad with zeroes. Padding is simple.

FMT(link.column*100, "R%17")

Make sure your metadata for the column is VARCHAR, if it's still DECIMAL with a scale factor the job will strip off the zeroes again.
by kcbland
Thu Jun 29, 2006 6:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to kill a job when DsDirector Stop does not work
Replies: 10
Views: 4258

Why is the bottom most job hung? Is a query active? When DS submits a query to a DataBase, it doesn't look back to see if the Stop button has been pushed until the prepare finishes. Your best bet is to get the query killed in the database. Now, if the job has called a routine to go do something, unt...
by kcbland
Thu Jun 29, 2006 6:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: killing a job outside datastage
Replies: 5
Views: 4479

Took awhile for your first post? "ps -ef|grep phantom" will show all job threads active. Look for the DSD.RUN threads, as they are the controllers. Failure to use the Stop facility in the DS Director means that if you use kill the job will not clean up its status and configuration files, plus any jo...
by kcbland
Thu Jun 29, 2006 2:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: stored procedure - result set
Replies: 4
Views: 1047

ODBC stage, toggle SQL choice to stored procedure.
by kcbland
Thu Jun 29, 2006 1:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Connection Error
Replies: 24
Views: 8043

It's either PC or server related. If you can't connect on your PC, can you connect on someone else's? If not, then the problem is server side. Are all projects out of bounds? How about a different server? Can you connect to dev but not prod? Are you using a "roaming" home? It seems like a permission...
by kcbland
Thu Jun 29, 2006 12:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To check the output file rowcount
Replies: 10
Views: 2409

This forum has thousands of posts regarding doing what you ask, just use the Search. Your DS BASIC manual is available under your Start button.
by kcbland
Thu Jun 29, 2006 12:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To check the output file rowcount
Replies: 10
Views: 2409

You'll never have a row go into an output link which requires a constraint check if there's no input rows. Your method doesn't work. Use an after-stage routine call and write a routine that checks the link values using the API libraries.
by kcbland
Thu Jun 29, 2006 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure
Replies: 5
Views: 1185

You're going to have to figure out the discrepancy in your SP. Maybe start by writing a simple SP that returns 1 columns and testing from there.
by kcbland
Thu Jun 29, 2006 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a batch script in DataStage
Replies: 5
Views: 1760

How do you know it's not happening? Is the script located on the DS server? Do you have some logging commands in the script to determine if it is executing, how far it's getting? How about posting the messages from the ExecDOS log entries.
by kcbland
Thu Jun 29, 2006 10:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored procedure
Replies: 5
Views: 1185

First import the metadata definitions for the SP using DS Manager and then load into the stage.
by kcbland
Thu Jun 29, 2006 9:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting a file into multiple files based on first column
Replies: 5
Views: 4173

Try out using the Folder stage to do the split out on the first column.