thanks for answering. USR1040N gives me the content of the session Parameter UDB. But this is not what I’m looking for.
Imagine the following: Let’s say my UDB is set to 001.
DEFINE DATA LOCAL
01 VIEW01 VIEW MYFILE1-DB12 /* DBID=012 is hardcoded in DDM
01 VIEW02 VIEW MYFILE2 /* DBID=014 manipulated by session Parameter TF
01 VIEW03 VIEW MYFILE3 /* DBID=0 in DDM, File is not in TF-Table, that means Parameter UDB would be taken
/* udb is 001 at the moment
GET VIEW01 1
/* Now I'm connected to DBID=012
GET VIEW02 2
/* Now I'm connected to DBID=014
/* I'm not connected to DBID=001 (which is my UDB) because I did no I/O on VIEW03
My question remains: Is there any Natural-method or USR-Subprogram telling me the DBIDs of my open ADABAS-DB-Connections?
The correct answer to my sample would be 12 and 14, and not 001 (which is my udb).