dbaccess from shell scripts
Posted in 1998
"Tony_ReynoldsAccounting & Purchasing System" — — source: Informix-list mailing list archive (1991-1998)
Any unix guru's out there?
I'm trying to run an update through a shell script using dbaccess.
I se up the environment in the script.
and use dbaccess /home/informix/update.sql
where update.sql is
say
update employee
set employee_name="FRED" where employee_no="1101"
but what I want to do is make the employee_no a variable so that the
script asks the user for the employee_no to update.
Tony Reynolds, NEC Group, Birmingham , UK 8-))
tr-2959@necgroup.co.uk
tonyreynolds2@compuserve.com