Should be fairly straightforward. We used to do it (not using VB) by populating a parameter table and then issuing an 'EXECUTE PROCEDURE aixa("unixcommand"' SQL statement passing the command line to run. The stored procedure was simply :
CREATE PROCEDURE aixa(runcommand CHAR(250))
SYSTEM runcommand;
END PROCEDURE;
(specifically SE 7.24)
You will have to run a script that sets appropriate environment variables and then does an sacego to run your report.
what i need to do is ;
my ace report has a lot of formating done in the format clause i.e "using" clause and "if then" conditions.... now i should be able to trigger this ACE report as is and the o/p generated can then be transefered by some script on the unix server.
what u'v given is to create procedure , but then it will only execute the SQL stmt what abt my Formatting in the report ?
1.] runacereport would be a ".ksh" file right ?
2.] "sacego myacereport > /somepath/somefilename"
so the command is ->
sacego altemp1.ace > /cpcusr/query/wrk/out/trial.txt
**** IMP ***
3.] if the ace report has some input clause, how do we pass parameters from this command.
************
but my damm DBA doesn't allow us to write scripts or Procedures on the back end , lemme jus convince him , i'll try this and get back to u in a day or 2
am really troubling u a lot :-(
but now the problem is my front end is Java and using JDBC to connect to Informix can i still use
EXECUTE PROCEDURE aixa(......)
Have not used anything like that but EXECUTE PROCEDURE is an SQL statement so you should be able to issue it in the same way you would do a SELECT statement
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.