For applications running on an iSeries™ server to access remote files, the programmer must use the CRTDDMF command to create an object called a DDM file.
The ACCMTH parameter of this command shows which DDM access method should be used when opening the remote file. If *RMTFILE is used, i5/OS™ DDM selects an access method that is compatible with:
The table below shows how the possible values for the ACCMTH parameter correspond to VSAM data sets.
ACCMTH parameter values | VSAM data set organization | |||
---|---|---|---|---|
ESDS | RRDS | KSDS | VSAM Path | |
*ARRIVAL | R | R | E | E |
*KEYED | E | E | R | R |
*BOTH | E | O | O | O |
*RANDOM | E | O | O | O |
*SEQUENTIAL | R | O | O | O |
*COMBINED | E | O | E | E |
Where:
|
To improve performance, the iSeries user might want to supply values other than *RMTFILE for the ACCMTH parameter. To avoid server messages, use the values specified in Table 1 when accessing remote VSAM data sets.
The value specified for the RMTFILE file parameter must be the same as the value specified for the DATASET parameter of the CICS® DFHFCT macro when the VSAM data set is defined to the CICS system.