You can access a database file from your program by associating the file name with the device DISK in the appropriate file specification.
DISK files of an ILE RPG program also associate with distributed data management (DDM) files, which allow you to access files on remote systems as database files.