2 Replies Latest reply: May 28, 2015 10:50 PM by sivasankar kanagasabai RSS

    Error Variables to Table

    Ariel Klien

      Hello all,

      Does it possible to put the error variables into table?

       

      In my script i'm connecting to 500 DB.

       

      this is part of the loop:

      but it doesn't work

       

      if(ScriptError >0) then


      ErrorTable:
      LOAD '$(vDB_Name)' as ErrorTable_WhiteLabel,
            '$(ScriptError)'
      as ErrorTable_ScriptError,
            '$(ScriptErrorDetails)'
      as ErrorTable_ScriptErrorDetails
      AutoGenerate (1);


      END IF

       

       

      But it didn't work

      I  am getting null values in ErrorTable_ScriptError, ErrorTable_ScriptErrorDetails


      Any suggestions?


      BR


      Ariel