I have below program which call the shell script if i execute it it gives me below warning but if i execute via execute command it works so any idea
what can be wrong in below program.
csh /ds01/app/scripts/custom/FIN/wrappers/cubes_quarter.wpr: not found
Program is:
Code: Select all
*Initialize variables
vShellCommand = DSGetParamInfo(DSJ.ME, "ShellCommand", DSJ.PARAMVALUE)
call DSLogInfo ("Shell Command: " : vShellCommand, "Debug")
call DSExecute("UNIX", vShellCommand, vOutput, vRtnCode)
call DSLogInfo ("Script Output: " : vOutput, "Debug")
call DSLogInfo ("Return Code: " : vRtnCode, "Debug")
If vRtnCode <> 0 or ISNULL(vRtnCode) = 1 Then
vErrCode = DSLogEvent (DSJ.ME, DSJ.LOGWARNING, "Script completed with a non-zero valued return code:" : vRtnCode)
* Call DSLogFatal ("RUNFAILED with return code: ", vRtnCode)
End