e.g. The following could be inserted into a script to cater for an interactive session

isql -Usa -Psuperbase-SCASCADE <<!
dump transaction ......
go
exit
!

The code «! defines ! as being the EOF marker. Therefore when the script gets to the ! statement, it knows the interactive phase has finished. Note:The interactive responses must start in column 1

Recent Changes

Contribute to this wiki

Why not help others by sharing your knowledge? Contribute something to this wiki and join out hall of fame!
Contact us for a user name and password