Re: Executing Operating System commands from stored proc
Posted in 1999
Wicksey wrote:
>
> Hi everyone,
>
> Many thanks for the replies I got to my original post, and apologies if
it
> came across rude. For those that asked for more information, I am
running
> SE on Windows NT4, and have migrated a database from On-Line Dynamic
Server
> running on a Unix box along with stored procedures. The stored procedure
> builds a string and calls SYSTEM with that string as a parameter,
although
> this doesn't appear to work on NT. What command should I replace SYSTEM
> with to be able to call stored procedures from a NewEra GUI?
>
> Thanks again for the responses,
>
> Wicksey
>
>
For example:
create procedure sys_test( a char(16) )
system 'cmd.exe /C echo '|| a ||' >> C:\\tmp\\output.txt';
end procedure;
Check also release notes to avoid error 640.
HTH
Vardan Aroustamian
--
vaar@geocities.com