devxlogo

DBACCESS Syntax

DBACCESS Syntax

Question:
When accessing dbaccess through a script (in UNIX), what is the importance of the hyphen after the database name?

For example:

dbaccess mystores- 

Why do we need a hyphen after mystores?

Answer:
The hyphen tells dbaccess to get it's input from the standard input, which in this case is the "here document" that you're creating by using the

devx-admin

Share the Post: