2 Replies Latest reply: Dec 12, 2017 2:42 PM by Shahbaz Khan Mohammed RSS

    How to create QVD's through variable ?

    Vikram Avirneni

      How to create QVD's through variable ?

       

      please call me or whats app on 91958181000

        • Re: How to create QVD's through variable ?
          Felip Drechsler

          Vikram,

           

          can you give more details on what you need?

          Do you need to store a QVD with a specific name based on a varialbe?

           

          If you need something like this, you can use $ (dollar) expansion, like below:

           

          set vName = Test;

           

          tmp:

          Load

               'A' as Test

          Autogenerate(1);

           

          store tmp into $(vName).qvd (qvd);

           

          This will store a QVD named Test.qvd into the same folder where you save the QVW with the above code.

          Most operations will use the $ expansion when you need to get values from a variable.

          • Re: How to create QVD's through variable ?
            Shahbaz Khan Mohammed

            SET run_path = '..\qvd\';

             

             

            after you load the data

             

            STORE XYZ_TABLE into $(run_path)XYZ_TABLE.qvd (qvd);

             

            .. can be tricky. single . means 1 folder up, .. would mean 2 folder up

            and ..\qvd\ would be your store location in script