View previous topic :: View next topic
|
Author |
Message |
drowelf Warnings : 1 New User
Joined: 03 Mar 2006 Posts: 47 Location: Simpsonville, SC
|
|
|
|
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.
TIA
The process guide is no help what so ever. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
|