OVRDBF (Override with Database File) command

The Override with Database File (OVRDBF) command can be used with DDM to override (replace) a local database file named in the program with a DDM file; the DDM file causes the associated remote file to be used by the program instead of the local database file.

If a DDM file is specified on the TOFILE parameter and if other parameters are specified that change a file's attributes, the result is that the remote file actually used by the program is used with its attributes changed by the parameter values specified on the OVRDBF command.

If the target server is an iSeries™ server or a System/38™, existing programs that use the OVRDBF command to access remote files work the same as when they access local files. All the OVRDBF parameters are processed the same on source and target iSeries servers.

If end-of-file delay (EOFDLY) is used, it is recommended to end a job with an end-of-file record because if the source job gets canceled, the target job does not get notified. The user must also end the target job.

If the target server is neither an iSeries server nor a System/38:

Related reference
Additional considerations: SBMRMTCMD command
Example: Access DDM remote members (iSeries server only)