2 Replies Latest reply: Nov 2, 2015 10:00 PM by jagan mohan rao appala RSS

    debug a loader script

    Fabio Mazzarelli

      Hi Community,

      howto debug a script?

       

      Using option OUTPUT I see exactly standard output.

       

      For example, I need to know the value of the variable Last_Updatede or Filename etc etc

       

      LET Last_Updated = today();

      FOR EACH FileName in filelist('C:\QLIK SENSE SAMPLE DATA\data sources\*.qvd')

        QVDStatus:

        LOAD

        '$(Last_Updated)' as QVD_last_updated,

        Date( QvdCreateTime('$(FileName)') ,'YYYY-MM-DD hh:mm:ss') as FileTimeStamp,

        QvdNoOfRecords('$(FileName)') as QVD_record_count,

        QvdTableName('$(FileName)') as QVD_table

        AUTOGENERATE 1;

      NEXT;