5 Replies Latest reply on Feb 24, 2021 8:44 PM by Akanksha Rani

    Multiple commands in command task in IDQ

    Amit Bhartiya Guru

      Hi All,


      I want to achieve something like below in my command task:

      DT=`date +'%m%d%Y'`; wc -l < /NAS/Path/DQ_Failures_${par:wf_call_nm}_$DT.csv
      I have to check the line count of a file which has date appended to it like below: DQ_Failures_Party_TXN_02242021.csv

      I am not sure if we can have multiple commands in command task.
      Also, I am not sure if date will bring me the current date?