Work with access methods for DDM

 

Access methods control what subsets of functions can be performed after a particular remote file is opened. This might mean that an iSeries™ program, or a group of programs sharing a non-iSeries file, cannot do all the same operations that are possible using a file that is on the local iSeries server.

For example, assume that an iSeries application program opens a keyed file with SHARE(*YES) and performs keyed I/O operations. It then calls another program that does relative record number operations using the same open data path (ODP) (because SHARE was specified). Relative record numbers specify the relationship between the location of a record and the beginning of a database file, member, or subfile. If the first program is redirected by an Override with Database File (OVRDBF) command to use a remote keyed file on a System/36™, this scheme no longer works. If a keyed access method is selected, record number operations fail. If a record number access method is selected, keyed operations fail.

Notice that when both source and target servers are iSeries servers, access methods are not used. A potential problem exists when the target server is neither an iSeries server nor a System/38™. Notice also that the combined-access access method (*COMBINED) is not supported by System/36, and probably not by any target other than an iSeries server or System/38.

 

Parent topic:

Operating considerations for DDM