Remote files can be accessed by iSeries™ application programs written in the HLL and control language.
In most cases, these applications can access both local or remote files without the programs being changed. However, some considerations and restrictions might require the programs to be changed and recompiled. These are grouped in three categories:
When a communications failure occurs, the server sends an appropriate message to the job, which is returned to the application program as a generic file error. Each high-level language provides unique user syntax capabilities for user-controlled handling or default processing of exceptional results of a disk operation. Some languages might permit the user to retrieve the job message identification (ID) that would specifically indicate a DDM communications failure. Refer to the appropriate language manual for specific capabilities.
For secondary SDLC lines, it is recommended that the INACTTMR parameter of the Create Line Description (SDLC) (CRTLINSDLC) command be set on the source and target servers to detect the stopping of polling by the primary server. This prevents the possibility of a DDM read-for-update record lock lasting indefinitely due to a communications failure on the primary server.