Search found 7201 matches
- Fri Nov 01, 2002 1:00 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Split routine
- Replies: 3
- Views: 822
The closest thing DataStage BASIC has is MATPARSE. The target of MATPARSE is a dimensioned array, but this can subsequently be converted into a dynamic array or a space separated array using MATBUILD or ordinary code. For example: Dimension Tokens(1000,2) MAT Tokens = "" ; * initialize Delimiters = ...
- Thu Oct 31, 2002 9:41 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Checksum and oracle
- Replies: 5
- Views: 2541
Check with Ascential. We are on 4.2 and had raised it as an issue with them and they mentioned the CRC32 function. Until we upgrade, we got around the issue by calculating checksums on two halves of the data and concatenating the result (using bit shifting and boolean operators). It is a crude techn...
- Thu Oct 31, 2002 9:23 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Split routine
- Replies: 3
- Views: 822
Split routine
Hello All, Is there a predefined function in DS Basic that would help me get the different words contained in a string that are separated by any character contained in a list of characters? Here is an example in Perl of what Im trying to accomplish: my @words = split /[] ~`!@#$%^&*()_-+={}[|:;,.?/"]...
- Thu Oct 31, 2002 7:50 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Split routine
- Replies: 0
- Views: 373
Split routine
Hello All, Is there a predefined function in DS Basic that would help me get the different words contained in a string that are separated by any character contained in a list of characters? Here is an example in Perl of what Im trying to accomplish: my @words = split /[] ~`!@#$%^&*()_-+={}[|:;,.?/"]...
- Thu Oct 31, 2002 4:24 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Checksum and oracle
- Replies: 5
- Views: 2541
I am using DSv5.1 . It appears to use the 16 bit checksum as the checksum value always has 5 digits. Which version uses the CRC32 ??? Can the function be imported ??? Cheers, Andy. -----Original Message----- From: Galemmo,Nicholas,GLENDALE,IS [mailto:nicholas.galemmo@us.nestle.com] Sent: 31 October ...
- Thu Oct 31, 2002 4:14 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: datastage
- Replies: 4
- Views: 1181
If you want to keep it in DataStage, create a job that loads an empty sequential file to the Oracle table and set the OCI stage to either clear or truncate if you have the permissions. No rows will be processed, but the first thing that will happen is the table will be emptied. Or use any other kind...
- Thu Oct 31, 2002 3:54 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Checksum and oracle
- Replies: 5
- Views: 2541
I echo Alans comments. Which version of DataStage are you using? The 4.x checksum function returns a 16 bit value. This is not really suitable for data warehouse applications because there is a 1 in 64K chance of receiving a false positive (matching checksum values when the data is actually differen...
- Thu Oct 31, 2002 3:36 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: datastage
- Replies: 0
- Views: 432
datastage
Hello Group, We have a daily job that writes data each night with the insert rows without clearing command to an Oracle table. At months end processing we would like to process the data that has accumulated and then clear the table to prepare for that nights scheduled daily run. Any suggestions on h...
- Thu Oct 31, 2002 3:23 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Checksum and oracle
- Replies: 5
- Views: 2541
Andy, You may want to store the source row checksum as a column in your Oracle table, then retrieve it when you look for deltas. You may want to look into a CRC routine for your checksums. Regards, Alan Williams > > From: Andy Burnage > Date: 2002/10/31 Thu AM 06:13:21 EST > To: datastage-users@oliv...
- Thu Oct 31, 2002 11:13 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Checksum and oracle
- Replies: 5
- Views: 2541
Checksum and oracle
Folks, To check for deltas, I am using the checksum function on the source row, and comparing to the checksum on the row looked up from the target. This works OK. Does anyone know of a checksum function or source code for Oracle, so rather than return all the columns from the target row and do the c...
- Wed Oct 30, 2002 10:17 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: ODBC error
- Replies: 0
- Views: 874
You can read the following information from the error messages. DataStage was executing its DSR.MetaGeta function (a function involved in retrieving metadata), attempting to return a list of table names in the database (GET.TABLES argument) calling the SQLTables ODBC function. This function is a BAS...
- Wed Oct 30, 2002 10:02 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Creating HashedFiles from a routine under DS5.2 AIX
- Replies: 1
- Views: 367
Creating HashedFiles from a routine under DS5.2 AIX
This is a topic for an orphaned message.
- Wed Oct 30, 2002 10:02 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Creating HashedFiles from a routine under DS5.2 AIX
- Replies: 1
- Views: 367
There is a header file called FILENAMES.H in UNIVERSE.INCLUDE in which most of the useful pathnames, etc., have been built. UNIVERSE.INCLUDE is in the DataStage server engine directory but is accessible from any project. The variable UV.BIN contains the pathname of the DataStage binaries directory, ...
- Wed Oct 30, 2002 9:56 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Hash File Creation
- Replies: 21
- Views: 4025
On what basis do you make the claim that DataStage ignores the hash lookup? If the "active stage finishing" entry in the log reports that zero rows were passed along the reference input link, this means that no lookup was successful; not that the link was ignored. Inspect the code produced by the Tr...
- Wed Oct 30, 2002 8:17 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Hash file creation
- Replies: 0
- Views: 438
Hash file creation
Hi Folks, My datastage job ignores the Hash look up as the hash file has 8 million rows(4 columns; 2 keys and 2 lookup values). Wanted to find out why this happens. Did anyone face this? Thanks Gopal Ganesan =========================================================================== IMPORTANT NOTICE...