Skip to Content
author's profile photo Former Member
Former Member

Transformations and 0RECORDMODE

Hi SDN,

Please help me with the following:

During a transformation, if the load is a delta load, the data set contains both from the 0RECORDMODE perspective, such as type: "N", "X", "R" and blank.

What happens to each type of record during:

1. Start Routine (what should we do or not do with 'X' and 'R' type rows)

2. Transformation Rules (Do these rules apply to 'X' and 'R' rows?

3. End Routine ( I don't see 0RECORDMODE) in the Result Package. What happens to the 'X' and 'R' type rows which need to continue onward to delete/change records further on?

Please advise.

SM

PS. Points are always awarded.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2011 at 09:47 PM

    Further on this:

    For this data packet:

    1. RECORDMODE Order Item P'Key

    1 N 0004337570 000005 001

    2 X 0004337570 000005 001

    3 0004337570 000005 001

    4 R 0004337570 000005 001

    I was expecting the End Routine to have an empty Result Package but I see the Result Package having one row. Suggestions?

    Thanks.

    SM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      First of all the transformations and routines apply to the final value. So for instance, if before image value is 3 and after is 5 so final value is 5 and all routines will work on this value. However you do not have to consider the records with different images in your routine code.

      Also if the records mentioned by you come where everything is nullified then at PSA level you would see the records but when you update to DSO or cube, 0 records would be added.

      Debanshu

  • author's profile photo Former Member
    Former Member
    Posted on May 17, 2011 at 05:59 AM

    Hi,

    If you are talking about whether we can use 0recordmode in routines , no we cannot .

    0recordmode is used to update data, like before image , after image , new image etc .

    Kind Regards,

    Ashutosh Singh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.