Geting the DBID and FNR


I wrote/copied a simple program that calls USR1058 that gets the DBID and FNR for a given table name. It works fine in our test environment but when I run it in system, I get the following error:

-4125 The requested file description is not available.

I’m wondering why and if there’s an alternative natural API I could call?


Sounds like when you are in “system” you don’t have access to the DDM source (that is, neither STEPLIB chain nor FDIC).