B2B Integration

 View Only

Windows Connect Direct RUN TASK Delete command issue

  • 1.  Windows Connect Direct RUN TASK Delete command issue

    Posted Thu January 18, 2024 03:17 AM

    Hi Team,

    Hope all is well!

    I have a connect direct process which is running fine however sometimes the file doesn't get deleted from source and process returns successfully.

    Below is the Run Task used in the process to delete the source file.

      RUN TASK PNODE (PGM=Windows)
    SYSOPTS="cmd(del ~"&INFILE~" ~&~& if exist ~"&INFILE~" exit 8)"

    Can someone please advise what could be the issue?

    Regards,

    Shankar



    ------------------------------
    Shankar Somatkar
    ------------------------------