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

*clear_destination does not work

Hello

I am having trouble getting the *clear_destination statement to work, I use (only) these 2 lines to delete all records related to january 2011:

*clear_destination

*destination TIME=20110100

but all the records with timeid= '20110100' remain in the 3 fact tables, I also added an "xdim_memberset TIME=20110100" statement at the beginning of the logic but this did not help, can anyone please help me on that?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 08, 2011 at 11:02 AM

    Hi,

    try with

    *INCLUDE SYSTEM_CONSTANTS.LGL

    *CLEAR_DESTINATION

    *DESTINATION TIME=%TIME_SET%

    passing the time as parameter "2011.JAN" of the package.

    Best regards

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2011 at 11:08 AM

    Hi,

    try this one:

    *CLEAR_DESTINATION

    *DESTINATION TIME=20110100

    *WHEN *

    *IS *

    *ENDWHEN

    *COMMIT

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 08, 2011 at 12:09 PM

    Hi!

    I think that must work with:

    *CLEAR_DESTINATION

    *DESTINATION TIME=2011.JAN

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Could you please let me know which version and SP are you using?

      We have discovered recently that basic clear_destination scripts do not work in our environments. The reason is yet to be determined.

      Regards,

      Madis

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.