Search found 53125 matches

by ray.wurlod
Sat May 17, 2008 4:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Connecting to Database
Replies: 15
Views: 3679

Database connections only need to be defined in .odbc.ini if the access method you are using is ODBC (through ODBC Enterprise or Dynamic RDBMS stage with "ODBC" set as the DBMS type). In this case the DSN also needs to exist as an entry in the uvodbc.config file for the project. However, keep in min...
by ray.wurlod
Sat May 17, 2008 4:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove unwanted space at one column
Replies: 16
Views: 5674

It is an artifact of the decimal number being displayed. Would they object if, instead of the space, there was a "+" sign? The only way to eliminate the displayed decimal sign space is to change the data type to string (VarChar or Char) and then to use Trim() or Convert() to get rid of it. When you ...
by ray.wurlod
Sat May 17, 2008 4:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To find the job name from the Output File name
Replies: 2
Views: 1137

This is the purpose of Usage Analysis. Select the table definition in question (using Manager client), then select Usage Analysis from the toolbar on the menu. Usage Analyis produces a list of the jobs that use that table definition, including the columns that are used in each job. You do need, howe...
by ray.wurlod
Sat May 17, 2008 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove unwanted space at one column
Replies: 16
Views: 5674

Read what Arnd already told you. If the data type is decimal there IS NO SPACE in the data - only when it is displayed is there a space for the (positive) sign character. If the data type is string then you can do with it whatever you wish.
by ray.wurlod
Fri May 16, 2008 4:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: null input in transformer stage
Replies: 3
Views: 1010

This refers to the case where the output column is designated as Not Null, or where the output column derivation expression includes a function that does not tolerate null arguments (which is the case for most of the functions).
by ray.wurlod
Fri May 16, 2008 4:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: constraint to " OTHERWISE" for a otherwise link in
Replies: 18
Views: 3451

Please mark the thread as Resolved.
by ray.wurlod
Fri May 16, 2008 4:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation of job
Replies: 11
Views: 1760

Try View > Refresh in Director.
by ray.wurlod
Fri May 16, 2008 4:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Restart Algorithm
Replies: 1
Views: 616

Your script needs to check the individual exit status of each job instance and store that somewhere, so that it can select which jobs are checkpointed as having finished successfully. The script needs to read and remove that checkpoint file each time it starts. Or you could do the same in a job sequ...
by ray.wurlod
Fri May 16, 2008 4:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Bulk Load - log messages - warnings not processed
Replies: 3
Views: 3671

Has a flag been set in DB2 or in DataStage to demote warning message severities to informational?

You could, as a workaround, post-process the log using an after-job subroutine to search out particular SQLSTATE or DBMSCODE values. Setting ErrorCode to a non-zero value will abort the job.
by ray.wurlod
Fri May 16, 2008 4:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 00-000-00 Date problem
Replies: 10
Views: 2100

Type 12 in DataStage is VarChar. Looks like you need an IsValid() test somewhere in your mix.
by ray.wurlod
Fri May 16, 2008 4:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage Enterprise - Oracle 10gR2 - AIX - HELPPPPP
Replies: 3
Views: 1014

The easiest way is to use Oracle Enterprise stage with write mode set to Write (or Load, depending on your version). If you want to keep the sqlldr invocation separate from DataStage ETL processing, simply specify the full pathname of the sqlldr command (and make sure your Oracle environment variabl...
by ray.wurlod
Fri May 16, 2008 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How is your DS8.0 working on Mainframe DB2
Replies: 2
Views: 1050

I believe that U is currently working in Singapore on a server-only project (not using mainframe jobs). Therefore is unlikely to be able to help.

Nor can I, not having used this combination (yet, anyway).
by ray.wurlod
Fri May 16, 2008 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: file transfer help
Replies: 5
Views: 1601

It's not fixed width, so you can't use that. Fixed width implies that every record has the same structure and, therefore, length.

Please advise what "some values" are being inserted by FTP, and which FTP mode (ASCII or binary) you are using.
by ray.wurlod
Fri May 16, 2008 3:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: read txt from a job sequence
Replies: 17
Views: 6277

You are on the right track, but may have selected the wrong field number in your Field function. I prefer to convert all the line terminators (@FM) to empty strings and trim extraneous space from the result.

Code: Select all

Trim(Convert(@FM,"",ECActivity.$CommandOutput))
by ray.wurlod
Fri May 16, 2008 3:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating EXCEL work book
Replies: 9
Views: 2086

Excel worksheet names are presented as "system table" names, preceded by "$". Therefore, when you ask your ODBC stage to create the table, you need to give a table name preceded by "$".