[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Calling a batch file
- Subject: RE: [sqr-users] Calling a batch file
- From: "Orr, Daniel E (Dan) TL26D" <Daniel.Orr@CIGNA.COM>
- Date: Wed, 21 Jul 2004 11:38:02 -0400
- Delivery-date: Wed, 21 Jul 2004 10:42:52 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
You need to run the batch within a command shell, you can get this by doing
the following:
let $file = 'C:\Travel\edi\edi.bat'
let $command=getenv('COMSPEC')||' /c ' || $file
call system using $command #status
This will run the file within the command shell.
-----Original Message-----
From: Borde, Gopal S [mailto:gopal-borde@uiowa.edu]
Sent: Wednesday, July 21, 2004 11:27 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Calling a batch file
Friends,
I have to write a sqr which will run a batch file (edi.bat).
I tried using following codes in sqr
let $file = 'C:\Travel\edi\edi.bat'
call system using $file #status
but it is not working.
The edi bat is file delivered by PeopleSoft it reads names of all input
files and creates a list file.
Alternatively if any one know how to write code for this command will also
solve the purpose.
Thanks .
Gopal Borde
ITS Dept
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org http://www.sqrug.org/mailman/listinfo/sqr-users
"MMS <internal.cigna.com>" made the following annotations.
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please
immediately notify the sender by e-mail at the address shown. This e-mail
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files if
you are not the intended recipient. Thank you for your compliance. Copyright
(c) 2004 CIGNA
==============================================================================
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users