Query/38 command considerations for DDM

All the Query/38 commands can be used in applications that access local files or DDM files. And, wherever a local database file name can be specified on any of the Query/38 command parameters, a DDM file can also be specified, as long as any other limitations are met.

Note: If a Query/38 command uses a DDM file associated with a remote file on a non-iSeries™ or a non-System/38™ target server, either the DDM file should specify LVLCHK(*NO) or an OVRDBF command should be used to override that parameter with *NO. This is recommended to avoid level-checking problems with the target file.

A DDM file name can be specified in the SRCFILE parameter of the Create Query Application (CRTQRYAPP) or Retrieve Query Source (RTVQRYSRC) command, but only if the target server is an iSeries server or a System/38 and if the target file is a source physical file.