Search found 15603 matches

by ArndW
Tue Aug 10, 2010 5:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: spaces in coloumn
Replies: 2
Views: 1012

The COUNT() function will count the number of characters, the DCOUNT() function will give you the number of fields delimited by spaces. DCOUNT('XX','X') will return 3, COUNT('XX','X') will return 2.
by ArndW
Tue Aug 10, 2010 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: about forums
Replies: 2
Views: 952

An interesting first post which can be interpreted in several different ways. Perhaps you could post a reply to this thread and explain exactly what you did mean.

p.s. Welcome to DSXChange.
by ArndW
Tue Aug 10, 2010 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting less spaces in viewing the data from seqfile
Replies: 13
Views: 3299

The "view data" in DataStage has always caused problems, particularly in NLS installations, because it does its own interpretation of data and can display differently. In your case, please put an output stage after your source stage that just writes this one column into a flat file, then u...
by ArndW
Mon Aug 09, 2010 10:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view the Log file.
Replies: 20
Views: 4962

Just doing a full log clear from the director (Job -> Clear Log -> immediate purge of all entries) should do the trick as well, if it doesn't then you can do a CLEAR.FILE (but remember that the purge settings will be gone).
by ArndW
Mon Aug 09, 2010 7:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to read the comp-3 data
Replies: 10
Views: 3268

Yep, and with all this deja-vu all over again we still don't have a copybook.
by ArndW
Mon Aug 09, 2010 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view the Log file.
Replies: 20
Views: 4962

This error means that the log file for this job has become corrupted. The most common cause is that the disk (at one time) filled up.
For LOG files the solution is easy, just clear the log file.
by ArndW
Mon Aug 09, 2010 6:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to read the comp-3 data
Replies: 10
Views: 3268

I was just reinforcing your request, Craig :wink:
by ArndW
Mon Aug 09, 2010 5:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: various performence improvement practises in PX
Replies: 6
Views: 1687

Make a copy of your job which has only the SAP stage and goes to a peek stage or copy stage with no output link. What is the speed? If the speed is similar to the job as a whole you will have to look outside of DataStage for performance improvements.
by ArndW
Mon Aug 09, 2010 5:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting less spaces in viewing the data from seqfile
Replies: 13
Views: 3299

do a hex or octal dump of the file data (use "od" or a similar tool). I am certain that one of those spaces is not like the others (the not-so-subtle reference is intended).
by ArndW
Mon Aug 09, 2010 5:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data truncation issue-Sybase Database
Replies: 5
Views: 1735

Are you aware that the DRS stage documentation, on pages 29 and 30, do not contain LONGVARCHAR as a valid Sybase data type? You will have to redefine this as a CLOB.
by ArndW
Mon Aug 09, 2010 4:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replace Strings in PX
Replies: 5
Views: 1539

Convert() and ereplace are very different functions and are not interchangeable.
by ArndW
Mon Aug 09, 2010 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to read the comp-3 data
Replies: 10
Views: 3268

Could you please post the COBOL PICture clause for this file, it would make it a lot easier to understand the problem.
by ArndW
Fri Aug 06, 2010 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting less spaces in viewing the data from seqfile
Replies: 13
Views: 3299

I think that "cat -v" will show the problem, as HariK has suggested.
by ArndW
Fri Aug 06, 2010 7:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message about field not found
Replies: 7
Views: 4456

Try disabling RCP in the link leading to the Transform stage and in the Transform stage itself. Are there red derivations in the stage? Does it compile?
by ArndW
Fri Aug 06, 2010 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Generator in a production job
Replies: 5
Views: 2275

No reason not to use a row generator in a production job. Most of the projects that I've been on use the stage somewhere in production.