if (!hSession)
   {
   P3_WinClose (hWndMainWindow);  /* terminate the application */
   return;
   };
   
if (!DB_LoadCatalog (hSession, "DTV", "c:\\phase3\\dtv.sc"))
   return;
   
if (!DB_OpenCatalog (hSession, "DTV"))
   return;
