Search found 172 matches

by gsherry1
Tue Oct 25, 2005 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Test Data Export
Replies: 1
Views: 510

Routine Test Data Export

Hello,

Is there any way to export my test cases from the routine test area? I wish to test another external application with same data. It does not seem there is any way to select multiple cells and copy from that interface.

Thanks.
by gsherry1
Mon Oct 24, 2005 12:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling ConvertMonth from within routine.
Replies: 8
Views: 1611

It is working now. I must have screwed it up first time I tested.

Thanks.
by gsherry1
Mon Oct 24, 2005 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling ConvertMonth from within routine.
Replies: 8
Views: 1611

For the record, this poster did read history before starting this topic. This is why the original post was qualified with a 'without having to make a copy and compile'.

I also could not get the following to work:

DEFFUN ConvertMonth(a,b) CALLING 'DSX.CONVERT.MONTH'
by gsherry1
Mon Oct 24, 2005 9:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling ConvertMonth from within routine.
Replies: 8
Views: 1611

Calling ConvertMonth from within routine.

Is there a way to call the example routine ConvertMonth without having to make a copy and compile.

If there is, please provide the DEFFUN statement.

Thanks.
by gsherry1
Mon Oct 24, 2005 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Cleansing
Replies: 4
Views: 1273

Thanks. The status function came in handy here. I needed to distinguish status=1 and status=3.
by gsherry1
Mon Oct 24, 2005 7:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Cleansing
Replies: 4
Views: 1273

Date Cleansing

Is there some reason for the inconsistency in the way DS handles invalid dates? For Example, a day value that exceeds the normal range for that month returns null, but if it happens to be February 29th in a non-leap year, it returns the first of the next month. This means there is no way to capture ...
by gsherry1
Wed Oct 12, 2005 11:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dimensioned Array Assignment
Replies: 2
Views: 1054

I think I solved my own problem. I used the MATPARSE functionality.

DIM myArray(40,3)
valStr=<120 array values comma delimited>
MATPARSE myArray FROM valStr, ','
by gsherry1
Wed Oct 12, 2005 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dimensioned Array Assignment
Replies: 2
Views: 1054

Dimensioned Array Assignment

Could somebody please post example of how to assign multiple array elements in one statement. Something similar to C array initialization list. I can find commands for assigning all elements the same value, and building a array from file contents, but how about hard coding a static table. ie. I want...
by gsherry1
Thu Sep 29, 2005 10:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parameters defined in terms of other parameters
Replies: 2
Views: 875

Parameters defined in terms of other parameters

Is it possible to define parameters in terms of other parameters? Take for example: X="Hello" Y=#X# Then if I reference #X# in a component return "Hello". Is it possible to do something like this? I am unable to get it working. Y is returning #X# rather than "Hello". Th...
by gsherry1
Thu Sep 15, 2005 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Expression Evaluation
Replies: 17
Views: 6496

Calling expr command on Windows.

Assertion: DataStage BASIC does not have an expression evaluating function. Now that I understand the requirement, I'd suggest going out to the UNIX expr command to evaluate these expressions. Beware, however, that the expression elements have to be separated by spaces, and any operator meaningful ...
by gsherry1
Mon Sep 12, 2005 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Expression Evaluation
Replies: 17
Views: 6496

Expression Evaluation

Hello All, I have a column which contains a mathematical predicate expression. The possible operaters are +, -, *, /, =, >, < . For example '3 + 2 = 7 - 5' (a false expression, not a typo). There is no specified limit on the number of operands and operators in the expression. I was wondering what is...
by gsherry1
Thu Sep 08, 2005 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOp Questions
Replies: 2
Views: 2028

Does anybody have examples of buildops where there is some aggregation functionality being done, or making use of column names passed as parameters?
by gsherry1
Wed Sep 07, 2005 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Checksums
Replies: 2
Views: 1229

Checksums

What are my options in DataStage for computing checksums either on a particular field, or on the file as a whole?

I wish to compare checksums between generations of files to ensure that it is not the same file, and I do not wish to keep around the previous file to do this comparison.
by gsherry1
Tue Sep 06, 2005 11:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BuildOp Questions
Replies: 2
Views: 2028

BuildOp Questions

Suppose I wished to have same functionality of Remove Duplicates stage, but also have deduped records go to a reject port. I have read many solutions in achieving this with transformer stage. I prefer to have an inteface that would have the user specify a key and options to keep first or last instan...
by gsherry1
Tue Aug 30, 2005 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table Definition -> Schema File
Replies: 1
Views: 948

Table Definition -> Schema File

What is the quickest way to obtain a schema file definition given a table definition from DataStage Repository using command line interface?

Thanks.