Search found 53125 matches

by ray.wurlod
Tue May 13, 2014 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connector Stage - Transaction handling
Replies: 4
Views: 2554

You can't wrap a DELETE ALL before-SQL with row-by-row INSERT statements into a single transaction within a DataStage ODBC connector or enterprise stage.
by ray.wurlod
Tue May 13, 2014 4:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Adding Business days to a date (i.e Excluding Sat and Sun)
Replies: 8
Views: 2377

Do you have a calendar table from which you can determine whether a day is or is not a business day? If so, a query against this table will give you the number of days that you need to add.
by ray.wurlod
Tue May 13, 2014 4:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: WebServices - SSL connection
Replies: 1
Views: 1136

Welcome aboard.

The double slash in the keystore pathname might be the problem.
by ray.wurlod
Tue May 13, 2014 4:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: writing rank
Replies: 3
Views: 2183

To calculate a rank within DataStage you need your data to be sorted on the column for which the rank needs to be calculated, and you need two stage variables. The first stage variable returns the rank, and is incremented if the value in the current row is different from the value in that column in ...
by ray.wurlod
Tue May 13, 2014 4:18 pm
Forum: General
Topic: Routine Output to pipe delimited file
Replies: 3
Views: 2411

Tell me the exact error message you got from the SQL, or review the UniVerse SQL User's Guide (downloadable from Rocket Software).
by ray.wurlod
Tue May 13, 2014 3:25 am
Forum: General
Topic: best way to design near real time job/sequence
Replies: 3
Views: 722

Why? What's wrong with your solution? We implement almost exactly that scenario in that way (though it's a 15 minute interval), with the addition of a mechanism for notifying the sequence to stop (a file comes into existence).
by ray.wurlod
Mon May 12, 2014 11:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimals in RCP
Replies: 12
Views: 4110

Read the as decimal column in database as varchar in datastage. This way there wont be any unwanted zeros. Similarly, to specify a data type in DataStage one must name the column. Therefore this approach will not work. I suspect what was actually being suggested is CAST columnname AS VARCHAR(size) ...
by ray.wurlod
Mon May 12, 2014 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimals in RCP
Replies: 12
Views: 4110

No.

If you are going to transform the data in a column you must name that column.
by ray.wurlod
Mon May 12, 2014 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Question about Wrapper
Replies: 6
Views: 2070

PIPE-SAFE means that there's guaranteed to be a read process so that the pipe does not become full (and break as a result).
by ray.wurlod
Mon May 12, 2014 3:07 pm
Forum: General
Topic: Routine Output to pipe delimited file
Replies: 3
Views: 2411

Simple IF statement to control whether WRITESEQ is executed.

You can also put HEADER SUPPRESS at the end of the SQL query.
by ray.wurlod
Mon May 12, 2014 3:05 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Runtime User for Rules execution
Replies: 1
Views: 2321

They should be derivable from the project's Engine configuration settings.
by ray.wurlod
Fri May 09, 2014 1:29 am
Forum: General
Topic: Datastage Installation
Replies: 3
Views: 1355

Did you enter the correct URL? (http://serviceshost:9080/ibm/iis/console)

Is the WebSphere Application Server process running?
by ray.wurlod
Thu May 08, 2014 10:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parse data
Replies: 13
Views: 5985

SUBROUTINE ParseTimeString(InputValue, ErrorCode) Equate TAB To Char(9) DEFFUN OpenSequentialFile(FileName,OpenMode,AppendMode,LogMode) Calling "DSU.OpenSequentialFile" ErrorCode = 0 hInFile = OpenSequentialFile(InputValue, "R", "A", "Y") hOutFile = OpenSeque...
by ray.wurlod
Thu May 08, 2014 10:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parse data
Replies: 13
Views: 5985

Fair enough. Then the job could write untransformed data into the flat file that the subroutine processes, and the routine could be invokved as a before-stage subroutine in the second Transformer stage.

Code: Select all

ODBC ---->  Transformer  ---->  SeqFile  ----> Transformer  ---->  SeqFile
by ray.wurlod
Thu May 08, 2014 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: GetLinkRowCount returns 0 for datasets
Replies: 1
Views: 1280

Check the score. The operator for reading from or writing to Data Set is copy which may be eliminated by the optimizer. This, in turn, may lead to a record count of zero.