Search found 15603 matches

by ArndW
Mon Feb 25, 2008 4:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading a EBCDIC Cobol file - Complex file stage
Replies: 32
Views: 10489

Ok, that means the error has occurred before that column. You will still need to put in some time and effort in locating the cause.
by ArndW
Mon Feb 25, 2008 4:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading a EBCDIC Cobol file - Complex file stage
Replies: 32
Views: 10489

WMM_CROSS_RFRN_ACCT_NR is probably a COMP-3 field and the error means that your metadata doesn't match the data. There is no easy way to solve this, you need to match the metadata with the data column by column to find out where the difference occurs. Assume the OCCURS didn't work correctly as a sta...
by ArndW
Mon Feb 25, 2008 3:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading a EBCDIC Cobol file - Complex file stage
Replies: 32
Views: 10489

Flatten all arrays. the OCCURS 2 times will be flattened.
by ArndW
Mon Feb 25, 2008 3:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup File set v/s dataset
Replies: 3
Views: 1216

Functionality is the same, performance might be a little slower. I don't like using lookup filesets because you cannot "view data" on them during the development phase. Once you have a functioning job you can convert datasets to lookup filesets so that you can take advantage of the prebuilt indices.
by ArndW
Mon Feb 25, 2008 3:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading a EBCDIC Cobol file - Complex file stage
Replies: 32
Views: 10489

Flatten all would be best. Do you have arrays ("OCCURS" or "OCCURS DEPENDING ON") or just group level, i.e. "10 SUB-GROUP." with no pictures?
by ArndW
Mon Feb 25, 2008 3:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Julian day
Replies: 13
Views: 5536

try

Code: Select all

StringToDate(DSLink389.DT_CNTRCTL_MTY [1,4]:'-': DSLink389.DT_OPTN_BEG[5,2]:'-': DSLink389.DT_OPTN_BEG[7,2],'%yyyy-%mm-%dd') 
by ArndW
Mon Feb 25, 2008 3:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence Id
Replies: 4
Views: 1209

In PX you cannot take a reject from a transform stage, you need to do it from the Database passive stage. Draw a reject link and activate rejects in the stage details and then either use PEEK or write the errors to a target.
by ArndW
Mon Feb 25, 2008 3:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading a EBCDIC Cobol file - Complex file stage
Replies: 32
Views: 10489

Unfortunately this often ends up being an iterative process. With big copybooks I will delete all but the first 20 columns or so, replacing it with a big VarChar filler field then check with "view data" to see if the columns are parsed correctly. When that is fixed, I will make a copy of the origina...
by ArndW
Mon Feb 25, 2008 2:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with reading a EBCDIC Cobol file - Complex file stage
Replies: 32
Views: 10489

Your imported copybook metadata does not match that in the file. Did you get any warnings or error while importing the copybook? At the moment your metadata is longer than the actual data.
by ArndW
Mon Feb 25, 2008 2:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence Id
Replies: 4
Views: 1209

What are you using the "if" statement for? Is it the derivation of the unique primary key?

The error message is quite clear that you are loading duplicate keys. If you put in a reject link you will see which keys are incorrect and can proceed accordingly.
by ArndW
Sun Feb 24, 2008 2:42 am
Forum: IBM QualityStage
Topic: QualityStage import problem
Replies: 12
Views: 4279

No, I haven't seen that specific error before, so it might not be one of the ones corrected by the major DS/IIS patch.
by ArndW
Sat Feb 23, 2008 2:11 pm
Forum: IBM QualityStage
Topic: QualityStage import problem
Replies: 12
Views: 4279

Have you contacted your support provider? There are a number of issues with QS8 importing rulesets. There is a wrap-up fix pack that solves many of them. Do you have that applied?
by ArndW
Fri Feb 22, 2008 10:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting NULL records even after defining constraint
Replies: 19
Views: 3984

IsNull() won't work here (the 3rd time might be a charm)! Use

Code: Select all

Trim(In.Col)#''
as your constraint.
by ArndW
Fri Feb 22, 2008 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in Hash file
Replies: 12
Views: 3003

Craig - that is what I though as well ... the "shrug" part, I mean. Some performance degradation in all hashed files can be expected as well as growth in file sizes.