The Open Query File (OPNQRYF) command can process distributed data management (DDM) files, however, there are certain considerations.
All DDM files identified on the FILE parameter must exist on the same IBM® iSeries™ system or System/38™ target system. The Open Query File (OPNQRYF) command which specifies group processing and uses a DDM file requires that both the source and target system be the same type (either both System/38 or both iSeries systems).