Search found 4992 matches

by kcbland
Thu Apr 06, 2006 1:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting error in Routine
Replies: 2
Views: 1126

Please paste formatted code inside a code box. I had to paste your logic into a function just to make sense out of it. :x

Any chance you're exceeding the dimensioned length of your array?

Consider doing this instead:

Code: Select all

Str_Length = LEN(V_STR) 
DIM V_OUT(Str_Length)
by kcbland
Thu Apr 06, 2006 12:39 pm
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 56405

I don't know what the permissions mean, but if you're running this on a PC, I used Active Perl and it works fine. The unix side of me says your umask setting is wrong and the .pl script can't write the files to those directories. It's a shame we're cluttering up the original post, next time you shou...
by kcbland
Thu Apr 06, 2006 11:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to UPDATE records
Replies: 7
Views: 1705

Try committing more often.
by kcbland
Thu Apr 06, 2006 9:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading 50million records from Oracle9i to Oracle9i
Replies: 7
Views: 3085

If you're going to copy data across a network using DBLINKs, I hope your volume is low. INSERT INTO TABLE (SELECT * FROM TABLE@remotedatabase) should be avoided on large tables. Your network traffic, restartability, parallelism, and performance will suffer greatly. Your solution is easy, it's just c...
by kcbland
Thu Apr 06, 2006 9:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aborting a Job within a Job
Replies: 5
Views: 1141

How are you checking for NULL? Use the ISNULL function, don't do inlink.column = @NULL because it doesn't work.
by kcbland
Thu Apr 06, 2006 9:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datbase connection status..........
Replies: 6
Views: 1225

ODBC or OCI? If the command line for the database is available, consider a system command call to run a silly SQL statement and just check if it works. SELECT SYSDATE FROM DUAL is sufficient for Oracle using sqlplus. ISQL/OSQL are options for SQL-Server and SYBASE, dbaccess for Informix, and the DB2...
by kcbland
Thu Apr 06, 2006 9:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data won't append to seq files, but overwrite regarless...??
Replies: 2
Views: 664

Never, but consider that your file is empty at the beginning of processing, thus the backup is empty and the APPEND occurs to an empty file. I suspect there's a job somewhere before this one that is clearing the file.
by kcbland
Thu Apr 06, 2006 9:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading 50million records from Oracle9i to Oracle9i
Replies: 7
Views: 3085

Write a multi-instance job that selects your data and spools to a text file. Use a parameter as part of the output text file name, and use a partitioning WHERE clause that will return a subset of your data. Run as many copies of the job as allowed to extract as much data in parallel as possible. Con...
by kcbland
Thu Apr 06, 2006 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aborting a Job within a Job
Replies: 5
Views: 1141

Lots of ways. There's the reliable CALL DSLogFatal("I'm dying", "Help") API which blows up a job when called after logging your message into the job log. That can be done from within a routine. There's also an SDK version of this (UtilityAbortToLog), but you can write your own as well.
by kcbland
Thu Apr 06, 2006 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Max of a column from Oracle table
Replies: 3
Views: 700

Post your exact SQL please.
by kcbland
Thu Apr 06, 2006 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wave.sequence.error in phantom job
Replies: 3
Views: 1589

No, because the wave number gets reset all the time. Simply recompiling resets it to 1. Just ignore that it's there.
by kcbland
Wed Apr 05, 2006 4:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs aborted at hash file creation
Replies: 8
Views: 2007

The two underlying files (DATA.30 and OVER.30) can each get to 2.2GB separately giving the illusion that there's more than 2.2GB total, but not likely because the file will dynamically grow and shift data from OVER.30 to DATA.30. The OS limitation is an old situation, probably doesn't apply to most ...
by kcbland
Wed Apr 05, 2006 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs aborted at hash file creation
Replies: 8
Views: 2007

Well, it did tell you it couldn't create the file :wink: just not the why.
by kcbland
Wed Apr 05, 2006 2:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DNS Names
Replies: 3
Views: 1615

For ODBC stages it's uvodbc.config in the project directory, as long as you've already defined the connection in odbc.ini in the engine directory.
by kcbland
Wed Apr 05, 2006 2:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs aborted at hash file creation
Replies: 8
Views: 2007

Validate the entire path, make sure all directories and mount points are still named correctly. Try doing an "ls -l /DSIU_02/Dstage/data/VCAMS/hash/dm_pgm" on the hashed file directory.