cancel
Showing results for 
Search instead for 
Did you mean: 

output file

Former Member
0 Kudos

Hi Guys,

I wanted the result of the script to be in a file.

In isql we have like -o option to get the output result (isql -UDBA -P -Stestserver -i test.sql -o output)

But i am not able to find in dbisql -nogui.

I wanted the output of the script to a file in dbisql -nogui.

Many Thanks

Santosh

Accepted Solutions (0)

Answers (1)

Answers (1)

jong-kil_park
Employee
Employee
0 Kudos

Hi,

You can simply run dbisql to get the results like below.

dbisql -c dsn=xxx -nogui A.sql > A.out

or

dbisql -c dsn=xxx -nogui "read A.sql >& A.out"

Best Regards

Jerry