Joined: 03 Mar 2006 Posts: 39 Location: Houston, Texas
I'm trying to execute a CMD file on a server after successful transmission of the file from the Host to a PC via NDM. I've coded the run task on sucessful completion, but am having trouble with the syntax of getting the command to execute. The requirements are:
1) Execute a CMD file on a shared drive accessible to the Window Connect:Direct Server.
2) Pass 2 Parameters
This is my Run Task process statement from my Procedure
STEP003 RUN TASK (PGM=UNIX) SNODE -
SYSOPTS=\"&GC &LZ &ECSDSN"\
&GC is the name of the command \\to8pte91\cmd\Test.Cmd
&LZ is a share name \\tor8pte91\OutSRpts
&ECSDSN is a file name to process at the server
What I get in the NDM SS Display for the Run Task is:
Invalid keyword in sysopts
The get_next_sysopts_token() function has returned "unknown"
on one of the tokens in the sysopts.
Please refer to the Process Guide for correct syntax.