[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Call System Using command
- Subject: [sqr-users] Call System Using command
- From: "Anu Bagde" <anubagde@hotmail.com>
- Date: Fri, 03 Nov 2006 19:43:57 +0000
- Bcc:
- Delivery-date: Mon, 06 Nov 2006 16:28:49 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Hello all,
I am trying to use call system to execute a .dat file located on a different
server than where the SQR's are located. Operating system on both the
servers is Windows NT. I am initializing the variable named $script_file
with the actual fine name with complete path. Then I use the following code
to actually execute the .dat file:
let $command = getenv('COMSPEC')||' /c "' || $script_file || '"'
call system using $command #status WAIT
show 'Running command: ' $command ' Return Status: ' #status
My return status is 1. Can anyone help me understand this and solve this
problem? If this is not possible can any one help me find another way to
execute the .dat file, every day at 7pm?
Thanks in advance,
Anu
_________________________________________________________________
One and only Ash. Find out all about her. Only on MSN Search
http://server1.msn.co.in/profile/aishwarya.asp
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users