.pan extension Pan 6

I don’t know if this has been covered.

When working in a Pan 6 file with a .pan extension, procedures cannot open other Pan 6 files that do not have a .pan extension.

example: fileopen “CONCDB2” [a Pan 6 file without .pan extension] returns a message:
File “CONCDB2.pan” not found.

I’ve also tried opening using a variable. Same result.

Is this supposed to work this way? Is there a workaround?

Yes. That’s the way it is supposed to work. If you don’t want it to add .pan to the file name you specify, put

NoDefaultExtension

prior to the OpenFile command.