[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Call System with Wait does not work in Windows
- Subject: [sqr-users] Call System with Wait does not work in Windows
- From: "Dele Sikuade Dele Sikuade" <dsikuade@hotmail.com>
- Date: Thu, 18 May 2006 09:38:21 +0000
- Bcc:
- Delivery-date: Thu, 18 May 2006 05:41:31 -0400
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Hi,
I read through as many posts as I could find on using the wait option with
Call System and I cannot find a problem quite like the one I'm experiencing.
If I execute the following:
let $mycmd = 'c:\temp\a.bat'
call SYSTEM using $mycmd #sts wait
display #sts
then #sts has a value of 1 and my batch command does not get executed. If I
remove the wait from the end of the call SYSTEM command then the batch file
does execute and #sts is 0.
It would appear therefore that it is the "wait" parameter itself that is the
cause of my error.
Has anyone come across this before?
Thanks,
Dele Sikuade
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users