[foxboro] AW: AW: DM VARIABLE
- From: "Weiss, Andreas" <Andreas.Weiss@xxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Mon, 7 Apr 2003 10:16:08 +0200
Hope that it helps:
E5511U# pref -E11_02 dmcmd /opt/save/z
E5511U# pwd
/opt/save
E5511U# l
-rw-r--r-- 1 root other 105 Apr 7 10:13 z
-rw-r--r-- 1 root other 7 Apr 7 10:14 z.log
-rwxrwxrwx 1 root other 45 Apr 7 10:13 z.sh
E5511U#
E5511U# more z
dmcmd script
dmcmd getenv DMNAME p1
/usr/disp/fbild/z
dmcmd msglin $DMNAME
dmcmd run /opt/save/z.sh $p1
E5511U# more z.sh
#!/bin/sh
echo $1 > /opt/save/z.log &
exit 0
E5511U# more z.log
E11_02
E5511U#
-----
Please change=20
dmcmd run /opt/myscript( myscript contains ls $P1 > file )
to
dmcmd run /opt/myscript( myscript contains ls $1 > file )
Andreas
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
Other related posts:
- » [foxboro] AW: AW: DM VARIABLE