Search found 15603 matches

by ArndW
Wed Jul 02, 2008 5:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Appending the spaces with Zero
Replies: 6
Views: 1425

Why not just "LEFT(In.InputColumnName:STR('0',50),50)" - simpler and uses somewhat less CPU?
by ArndW
Wed Jul 02, 2008 4:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Age calculation from Date Of Birth
Replies: 6
Views: 2141

What format and datatype is "Date of Birth"? And is "age" an integer number of years?
by ArndW
Wed Jul 02, 2008 4:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Appending the spaces with Zero
Replies: 6
Views: 1425

LEFT(In.InputColumnName:'00000',5) should do the trick for you assuming your datatype is CHAR or VARCHAR
by ArndW
Wed Jul 02, 2008 3:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Phantom Errors
Replies: 2
Views: 1407

"Phantom" is a historical term from PRIMOS and is just a quaint name for a background process, which is pretty much every DS process! If you search for the file "JOB.1940505370.DT.1479438034.TRANS3" in your project directory and choose the one in the "BP" directory and then open it with your favorit...
by ArndW
Wed Jul 02, 2008 2:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS issue
Replies: 6
Views: 2102

So if you read from SQL-Server and write to a sequential file the data has been corrupted? What character set is used in the SQL-Server data?
by ArndW
Wed Jul 02, 2008 12:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort
Replies: 6
Views: 1563

Server has no concept of dates or timestamps. If you data is in the form "2008-07-01" (i.e. YYYY-MM-DD) then if you sort it, it will be done as a string and will sort correctly, this wouldn't work with a format of DD-MM-YYYY.
by ArndW
Wed Jul 02, 2008 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: want multiple operations executed in if condition
Replies: 4
Views: 1601

The delimiters are spaces or, for formatting, you can use shift-return. IF condition THEN assignment ELSE IF condition THEN assignment ELSE assignment
by ArndW
Wed Jul 02, 2008 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS issue
Replies: 6
Views: 2102

The problem might be that the "view data" window doesn't always show NLS characters correctly, the only way to be 100% certain that a problem is occurring is to write it to a file and then use your favorite viewing tool which you know works correctly with NLS to view the data.
by ArndW
Wed Jul 02, 2008 12:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with un identifiable(junk/garbage) characters
Replies: 1
Views: 2936

Is this Server or Parallel? If parallel, use an output PEEK instead of the Netezza stage and see if the "junk" is in the source or the target.
by ArndW
Wed Jul 02, 2008 12:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Phantom 24790
Replies: 7
Views: 1825

If you don't want to use "vi" on Windows, try Notepad.exe or Wordpad.exe or even WinWord.
by ArndW
Tue Jul 01, 2008 5:43 am
Forum: General
Topic: Interrupt System Call
Replies: 3
Views: 830

You are opening a sequential file. Check to see if it is a "real" file or a named pipe (as suggested by the stage name).
by ArndW
Tue Jul 01, 2008 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default integer values comes as '0'
Replies: 2
Views: 1397

If your integer column is set to be NULLable then it will pass on null values correctly.
by ArndW
Tue Jul 01, 2008 2:02 am
Forum: General
Topic: IBM Survey - give your feedback on Information Server 8
Replies: 3
Views: 1049

I started on the link but they expected far too much time and information from the participants, so I gave up. If you take it, you can at least plug DSXChange in there somewhere.
by ArndW
Tue Jul 01, 2008 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSGetJobInfo
Replies: 10
Views: 3715

Are you passing in
"Jobname"
or the actual name of the job you want to find the controller for? Can you do a test and either print out or return the JobHandle variable value?
by ArndW
Mon Jun 30, 2008 11:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Administrator Command Output
Replies: 3
Views: 3176

To add to what Ray has suggested, use "COMO ON {Choose a filename}" to start saving screen IO, then "COMO OFF" to stop. You will then find the screen IO stored in your project directory/&COMO&/{Your Chosen filename}.