Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
A DDM file is used as a reference file to access a file located on a remote (target) system in the distributed data management network. The DDM file on the local system contains the name of the remote file and information identifying the remote system.
The applications UFD is created in the local system (HEADOFFICE), where the application resides.
Bring the files or file structures to the remote library.
In the local system (HEAD OFFICE), create a DDMF file using CRTDDMF iSeries command:
==> CRTDDMF FILE(HEADOFFICE/RMT_SSHPL) RMTFILE(RMTWAREHSE/VSSHPL) RMTLOCNAME(remote.host.com *IP)
Make sure that you have entered the remote credentials via the ADDSVRAUTE command or change CHGSVRAUTE command:
ADDSVRAUTE USRPRF(LOCALUSER) SERVER(QDDMSERVER) USRID(RMTUSERID) PASSWORD('RMTPASS!!')
To run the application on the remote files override the Source File/Library/Member of the "Add Outgoing Transaction to Transaction Center" to the DDM file setup or positions 68 thru 97 of the Parameter One of the UADDMBX API or the SRCFILE and SRCMBR parameters of the ADDTC command.
The test (original) files/environment is ran when no override is done. As a precaution, the UFD properties-File Source can be changed/saved/compiled with the translation format to make the remote the "norm"/default.
Thinking of a new CHALLENGE? Let us know HERE.