Operating System - OpenVMS
1828009 Members
2296 Online
109973 Solutions
New Discussion

%FDML-F-NODNOTFND, Error locating schema or subschema in CDD

 
SOLVED
Go to solution
rbeasley3
Advisor

%FDML-F-NODNOTFND, Error locating schema or subschema in CDD

I'm trying to compile a FORTRAN program that contains DML statements. The program uses VAX DBMS.

I keep getting this error message:

%FDML-F-NODNOTFND, Error locating schema or subschema in CDD

When I look at the CDD with the CDO utility, I can see the schema --it's of type "DBM$SCHMEMA". So I know it's there. For some reason, the FDML pre-processor is unable to see it in the CDD.

The "VAX DBMS FDML Reference Manual" does not provide any information about this error message or what action to take to resolve it, so that manual wasn't much help.

I'm using:

VAX/VMS V5.5-2H4

$ cdo
Welcome to CDO V2.3
The CDD/Repository V5.3 User Interface
Type HELP for help
CDO>

Any ideas?

Thanks in advance,

- Ron Beasley (personal info erased)

 

3 REPLIES 3
Vinky_99
Esteemed Contributor

Re: %FDML-F-NODNOTFND, Error locating schema or subschema in CDD

@rbeasley3 

It looks like the error message you are receiving indicates that the FDML pre-processor is unable to locate the schema or subschema in the CDD. Here are a few things you could try to resolve the issue:

* Make sure that the CDD is properly mounted: Check that the CDD is properly mounted and accessible from the system. You can do this by running the following command from the DCL prompt:
$ MOUNT/CHECK cdd$device:[cdd]

* Check the CDD search list: The FDML pre-processor searches for schemas and subschemas in the CDD search list. Check that the CDD containing the schema is included in the search list. You can do this by running the following command from the DCL prompt:
$ SHOW CDD/SEARCH_LIST

If the CDD containing the schema is not included in the search list, you can add it using the following command:

$ SET CDD/SEARCH_LIST=(cdd$device:[cdd])

* Check the schema name: Make sure that the schema name specified in the FDML program matches the actual name of the schema in the CDD. You can verify the schema name using the CDO utility.

* Check the permissions: Ensure that the user has sufficient permissions to access the schema in the CDD. You can check this using the CDO utility.

* Try using a different version of the FDML pre-processor: If none of the above steps work, try using a different version of the FDML pre-processor. It is possible that the version you are using is not compatible with the version of VAX DBMS you are using.

I hope this helps! Let me know if you have any further questions, I will try to help.... 

These are my opinions so use it at your own risk.
rbeasley3
Advisor
Solution

Re: %FDML-F-NODNOTFND, Error locating schema or subschema in CDD

After all that I've been through, the problem came down to a new process-level logical name (someone added to the development environment without my knowledge or consent) that re-directed the reference to the schema in question -- to ANOTHER schema that didn't even exist!! So I'm looking at the source code for the schema reference,  checking the CDD, verified that the schema was there, and all the while, the logical name was re-pointing the FDML pre-compiler to look at  a diffrent schema. Once I created the mising schema, the FDML worked and all the modules compiled fine.

Now the application program compile and links cleanly. But it fails to execute when I attempt to run it. I get a different DBMS error this time. More on this in a separate topic.

- Ron Beasley

Sunitha_Mod
Honored Contributor

Re: %FDML-F-NODNOTFND, Error locating schema or subschema in CDD

Hello Ron Beasley,

That's awesome! 

We are glad to know the problem has been resolved and we appreciate you for keeping us updated.