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
- ODBC header file location
- Making API calls from DataStage 11.7 jobs scheduled in Control M
- Find datastage job names from target table names
- Is it possible to hide some logs on a Java application that works with IBM Datastage?
- Datastage Oracle connector and stored procedure stage not outputting records
- how to run more instance jobs in parallel using Api REST runDSJob?
- JDBC Connector Stage generates wrong datatype "name" in DDL for PostgreSQL
- is there any way to compile DataStage 11.7 jobs in Unix/Linux using shell?
- Trying to recreate a Datastage job as a Python Script
- Datastage - Hierarchical stage configuration
- DataStage Column Generator Stage not working working properly
- datastage Cyclic variable equivalent in bigquery sql
- DataStage 11.7 : Aggregator compilation error
- Extract the information from Data Flow Analysis (design time) in IBM DataStage or is there any tool which mimics it using export of a job?
- trying to read first 9 positions of a Char(50) datatype column
Related Questions in IBM-INFOSPHERE
- DataStage 11.7 : Aggregator compilation error
- 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 server jobs are loading only 6-10 rows per second using DB2 stage in Database
- Unsure about InfoSphere 11.7 nulls handling
- SQLSTATE = 42S02: Native Error Code = -204: Msg = [IBM][CLI Driver][DB2/AIX64] SQL0204N "SYSIBMADM.ENV_INST_INFO" is an undefined name
- How to aggregate strings in multiple rows in IBM InfoSphere DataStage grouped by a given ID
- PostgreSQL Table data auto purging through Datastage Job
- Bulk edit DataStage jobs?
- Generating a sequence number in IBM datastage
- Couldn't get File Lock
- Schema Registry URL for IIDR CDC Kafka subscription
- Implicit conversion error from string to timestamp in Datastage
- Datastage Basic - How to Supress "previously undefined" Warning Message in Transform Function
- How to give a job parameters previously calculated with other job?
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 # Hahtags
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.