I have a table which columns are location and credit, the location contains string rows which mainly is location_name and npl_of_location_name. the credit contains integer rows which mainly is credit_of_location_name and credit_npl_of_location_name. I need to make a column which calculates the ((odd rows of the credit - the even rows of the credit)*0.1). How do i do this?
IBM Datastage : Creating column that is calculation
233 Views Asked by random student At
1
There are 1 best solutions below
Related Questions in DATASTAGE
- Datastage is not reading the correct dataset
- Datastage: "connector could not find a column in the input schema" error while using oracle connector stage
- IBM DataStage: Evaluate string as code/expression
- How to add 60 months to current date in data stage jobs?
- Delete rows before doing any transformation in datastage designer?
- DataStage 9.1 multi instance job log not organizing log by invocation id
- Sequential file reads incorrect file data in IBM datastage 8.1
- DataStage Kafka connector / Message Hub / Authentication via Kerberos
- How to Throttle DataStage
- Datastage.. I have a field which has the value say 59.0900..I want to convert it to 05909
- How to keep a log of execution in datastage?
- Difference between parallel engine and server engine
- IBM DataStage : ODBC_Connector_0: Schema reconciliation detected a size mismatch for column
- IBM DataStage : Datetime overflow
- DataStage execute shell script to sleep in a loop sequence job
Related Questions in IBM-INFOSPHERE
- IBM DataStage: Evaluate string as code/expression
- IBM DataStage : ODBC_Connector_0: Schema reconciliation detected a size mismatch for column
- IBM DataStage : Datetime overflow
- IBM Datastage assumes a column is WVARCHAR while it's date
- SQL Server : Login failed for user
- trying to read first 9 positions of a Char(50) datatype column
- Spaces populating as 0 in the first postion in datastage(v8.5)
- DataStage 11.7 : Aggregator compilation error
- get substring before a given character in datastage transformation
- Kafka and IIDR CDC
- run ibm data stage job with different file in same job
- running job with different file without reloading the file
- How to make ibm data stage read specific job parameter value from source
- Connectio Faild to Kafka with IBM Info Sphere
- how to move file after reading the file in ibm datastage
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When you specify "odd rows" and "even rows" are you referring to row numbers? Because, unless your query sorts the data, you have not control over row order; the database server returns rows however they are physically stored.
Once you are sure that your rows are properly sorted, then you can use a technique such as Mod(@INROWNUM,2) = 1 to determine "odd" and zero is even. This works best if the Transformer is executing in sequential mode; if it is executed in parallel mode then you need to use a partitioning algorithm that ensures that the odd and even rows for a particular location are in the same node.