Written by

Senior Developer Support Engineer at InterSystems
Article Peter Steiwer · Jan 17, 2020 1m read

This does not appear to be a Cache exported file, unable to import.

If you are seeing this error during import: ERROR #6301 Line: 2 Offset: 118 This does not appear to be a Cache exported file, unable to import.

This error is caused by exporting from InterSystems IRIS and trying to import into Caché. If you plan on exporting from IRIS to Caché, you can use the following qualifier to export your classes so that Caché does not throw an error on import:

w $SYSTEM.OBJ.Export(<items>,<filename>,"/exportversion=cache2018.1")

Please see the Documentation for more information about this Export Qualifier

Comments

Peter Steiwer  Jan 21, 2020 to Arun Tiriveedhi

Yes, I agree that the article you reference is also helpful. I wrote this article as a guide for someone who is receiving the error message without knowing why this is caused. The other article is perhaps better for someone who knows what is wrong but does not know how to fix it.

0
Scott Roth · Mar 24, 2023

This is the first time I am using Export, so how would I get all the classes under a package?

0