Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Using python to catch server messages

$
0
0

Hi,

 

I am having problems catching server messages with my python scripts.

Specifically, when I issue the command:

 

mount database all from 'manifest' with listonly

 

If I issue this in an isql prompt I get a big list of all the devices in the manifest file, but I am having problems accessing this information with my python script.

If I use the sybpydb module, the information ends up in connection.messages, but from what I have gathered, sybpydb requires SYBASE to be installed, which is not viable as I am writing a client and not every user will have a valid Sybase installation.

 

I have been trying with a regular ODBC driver, which works fine except that I am unable to access system messages, such as the output from the mount command above.

 

Anyone have any ideas or tips?


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>