Search found 15603 matches

by ArndW
Tue Jul 10, 2007 5:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BATCH file to delete DATASETS
Replies: 7
Views: 2868

DataSet files do not need to be named with a ".ds" extension, they can have any name.
DataStage PX uses DataSets as faster, more efficient storage than sequential files.
by ArndW
Tue Jul 10, 2007 3:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Formatted length of fields & record<declared length-W
Replies: 18
Views: 2846

What kind of a load are you doing in the Oracle stage? How many columns in your definition and is the total length 272 or 273?
by ArndW
Tue Jul 10, 2007 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Formatted length of fields & record<declared length-W
Replies: 18
Views: 2846

I just reread your post and notice that the error message is one that refers to a source file stage. Are you 100% certain that this is referring to your output Oracle stage?
by ArndW
Tue Jul 10, 2007 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Formatted length of fields & record<declared length-W
Replies: 18
Views: 2846

If you go into your favorite SQL tool and do a "desc {YourTable};" you will most likely see that the field is declared with a length of 273, but you only declared it as 272 in your job.
by ArndW
Tue Jul 10, 2007 1:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: In Oracle Stage i coded as update or insert but its not inse
Replies: 8
Views: 2035

Your post confused me. Even after re-reading. To debug your problem, simplify the issue. Use 1 row of data, truncate the table and run the job with a reject link. Is the row inserted (check using your favorite tool) and if not, is anything written doen the reject link in the job or visible in the lo...
by ArndW
Tue Jul 10, 2007 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: In Oracle Stage i coded as update or insert but its not inse
Replies: 8
Views: 2035

Did you put a reject link in to measure this? If not, you won't know. If the records are NOT being written to the table then they will go down the reject link
by ArndW
Tue Jul 10, 2007 1:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Validations in Datastage
Replies: 34
Views: 20353

Rea - If you use a D conversion without specifying the order, the ICONV() function will make a best guess. If you have 4 digit years and alphabetic years then a format of "D4" will always convert correctly. If there is any ambiguity in the input date then the ICONV will most likely produce some inco...
by ArndW
Tue Jul 10, 2007 1:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Condition in Lookup Stage
Replies: 3
Views: 1634

That type of a range lookup will only work on Database objects. You need to use a sparse lookup and user-defined SQL in order to specify your BETWEEN condition.
by ArndW
Tue Jul 10, 2007 12:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Validations in Datastage
Replies: 34
Views: 20353

Rea_Anthony - please write a test routine with a 'D4' conversion, then input your test dates and you will see that it does indeed cover most of your scenarios before saying that it doesn't work. Particularly try "2007-Jun-01" and "Jun-01-2007" and "01-jun-2007".
by ArndW
Tue Jul 10, 2007 12:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Hash file from within a DS routine
Replies: 3
Views: 1140

The commands you need to do this are in the BASIC Programmer's Guide and are OPEN , READ and CLOSE . Example code: OPEN '','MyHashedFileName' TO WorkFilePtr ELSE CALL DSLogFatal('Unable to open MyHashedFileName, status is "':STATUS():'".','') READ MyRecord FROM WorkFilePtr,...
by ArndW
Tue Jul 10, 2007 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table count to a Parameter
Replies: 4
Views: 1188

One way is to execute the Db2 select clause from a command stage in a sequence, then pass the result as a parameter to a job. Sequences cannot read tables directly.
by ArndW
Tue Jul 10, 2007 12:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Validations in Datastage
Replies: 34
Views: 20353

When you specify a simple "D4" conversion code the routine will make a best guess as to the format, but it is very poor practice as the computer has no idea if "2007-04-08" means August 4 or April 8; thus you will certainly get invalid conversions.
by ArndW
Tue Jul 10, 2007 12:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: In Oracle Stage i coded as update or insert but its not inse
Replies: 8
Views: 2035

You need to code a reject link in a transform stage right before your oracle stage and capture your error.
by ArndW
Mon Jul 09, 2007 8:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Issue
Replies: 17
Views: 5335

If the content is still the same garbage then you have a record length issue you need to fix first.
by ArndW
Mon Jul 09, 2007 8:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup stage
Replies: 14
Views: 4573

As Ray has posted twice and I once in this thread, you need to match like-for-like. Your stream and reference lookup columns must be of the same datatype and/or format in order for the stage to work. Hence the questions asked above regarding your definitions.