Forgot to add, once you know the internal name of the current datafile you can use $pathname() to find out the location of this file.
If you have many datafiles open you can build the list of them and see which one is current by examining vLst.C3
Do $datas.$makelist($ref.$name,$ref.$pathname,pick($cdata().$name()=$ref.$name,kFalse,kTrue)) Returns vLst
On Sep 13, 2017, at 9:40 AM, Rankin Darby <firstname.lastname@example.org> wrote:
> How can you find out which datafile your library is pointing to?
> I have had an instance where I believe a User pointed the library to a
> non-production datafile after opening Omnis application.
> Manage your list subscriptions at lists.omnis-dev.com
Manage your list subscriptions at lists.omnis-dev.com