Hi Guys,
According to the manual the D3 -d command
|
-d data.arg |
Stacks data for the process once it is activated. The data argument specified is any string that contains displayable characters and commands prefixed by a backslash. |
|
The D3 implementation is Linux (Redhat) 10.3x
I run this code in Linux and I can see the entries in the TCL stacker: Please just ignore the commented out lines.
RESCMD = "!d3 -500 -d -' \\r\\r\\r\\rdm\\rdm\\rxxxxxx\\r"
RESCMD = RESCMD:"\\rt-det 5 (uz\\rt-select 5\\rt-rew\\rt-rew\\r"
* RESCMD = RESCMD:"\\rlistfiles \\r"
RESCMD = RESCMD:"\\r\\r\\rt-det\\r\\rsleep 1\\r\\rexit\\r\\r'"
EXECUTE RESCMD
*
* DELCMD = "!d3 -500 -d -' \\r\\r\\r\\rdm\\rdm\\rdxxxxxx\\r"
* DELCMD = DELCMD:"\\r\\r\\rt-det\\r\\rtime\\r\\
* execute delcmd
*
* execute delcmd
*
* RESCMD = "!d3 -500 -d -' \\r\\r\\r\\rdm\\rdm\\rdxxxxxx\\r"
* RESCMD = RESCMD:"\\rt-det 5 (uz\\rt-select 5\\rt-rew\\rt-rew\\r"
* RESCMD = RESCMD:"\\r\\r\\rt-det\\r\\rsleep 1\\r\\rexit\\r\\r'"
* EXECUTE RESCMD
ESTAMP = "!d3 -500 -d -' \\r\\r\\r\\rdm\\rdm\\rdxxxxxx\\rdate\\
EXECUTE ESTAMP
* sleep 20
crt estamp
EXECUTE "EXIT"
However, when I run this under CRON - ONLY the first set of instructions come out onto the TCL stack:
t-det 5 (uz
t-select 5
etc. etc.
I am (should expect) the subsequent TCL instructions that are issued in the pgm :
ESTAMP = "!d3 -500 -d -' \\r\\r\\r\\rdm\\rdm\\rdxxxxxx\\rdate\\
EXECUTE ESTAMP
Has anyone else experienced something similar? Or am I doing something wrong?
Thanks
Stefano
------------------------------
Stefano Gallotta
Managing Member
Simply Red Open Systems
Milnerton ZA
------------------------------