In my code I have the connect statement like this: connect / It connect to oracle database (unix)
Is it possible to connect to default ado connection?
There is no such thing as a default ADO connection. You need to specify a connect string to point to the ADO provider that you wish to use along with connection information such as authentication credentials, etc. You can setup the default database for the connection using the Initial Catalog entry.
If you are connecting using OpenESQL and compiling for DBMAN=ADO then you can create your connection using the ADO Connection Editor and then connect directly using the DSN name such as CONNECT TO DEFDSN.