At this point, I would just like to get the Locate statement to work with any array. The Datastage help does not seem to be helpful.
Locate '172' IN '172,200,201,200,202' SETTING Ans
Else Ans = 'Not Found'
This is what I would like to get to work.
Search found 40 matches
- Wed Dec 06, 2006 12:05 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Locate Statement not Searching Whole Array in a Routine
- Replies: 7
- Views: 2600
- Mon Dec 04, 2006 9:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Locate Statement not Searching Whole Array in a Routine
- Replies: 7
- Views: 2600
Locate Statement not Searching Whole Array in a Routine
Hello all, It is my understanding that the Locate statement can search an array. In order for me to use it in a routine, I have to specify a position. Well that defeats the purpose. Shouldn't it search by field? Otherwise, I have to spin it thru a loop and read one position at at time looking for a ...
- Mon Oct 23, 2006 10:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join Stage Retains Deleted Duplicate Columns
- Replies: 8
- Views: 2523
The force compile did the trick! :shock: True to your words, those irritating warnings went away. I didn't notice it sitting there under the File menu. I tried the RCP disable first but the job aborted. I will keep that trick in mind for the future as it may flush out other issues. Thanks for that. ...
- Thu Oct 19, 2006 8:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join Stage Retains Deleted Duplicate Columns
- Replies: 8
- Views: 2523
- Thu Oct 19, 2006 3:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join Stage Retains Deleted Duplicate Columns
- Replies: 8
- Views: 2523
- Thu Oct 19, 2006 3:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join Stage Retains Deleted Duplicate Columns
- Replies: 8
- Views: 2523
- Thu Oct 19, 2006 3:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join Stage Retains Deleted Duplicate Columns
- Replies: 8
- Views: 2523
Join Stage Retains Deleted Duplicate Columns
This may be a DataStage issue. In the beginning, there was a join stage. And it was generating warnings such as: "JoinStage_1: When checking operator: Dropping component "Column_x" because of prior component with same name". I traced this to mean that there were duplicate column ...
- Thu Oct 19, 2006 2:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal Format of " 000011." when viewing data
- Replies: 5
- Views: 1893
- Thu Oct 19, 2006 12:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal Format of " 000011." when viewing data
- Replies: 5
- Views: 1893
Thanks for the reassurance. I know I can perform mathimatical calculations on the column so it must be numeric. I just needed some light shed on the weirdness of the format of ' 0001.' with the preceding space. As long as it gets to and from the database as numeric, I should be fine. Thanks again. K...
- Thu Oct 19, 2006 10:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal Format of " 000011." when viewing data
- Replies: 5
- Views: 1893
Decimal Format of " 000011." when viewing data
Hello people! I am going crazy here. I can't figure out why I am seeing decimal data in the format of " 000011." when viewing from a data set or a OCI. The Oracle 10 database has this column as a decimal(11) with no scale. So I should see a clean looking number, yes? Any ideas will be so g...