There are certainly other methods that can be used, but what you describe is simple and timeproven. It also happens to be what I (tend to) use when moving data between systems It beats media and, if you don’t need real time replication of data, gets the job done.
May I suggest a one-step method, ObjectConnect using SAVRSTLIB or SAVRSTOBJ.
There is a little of prep work to do, like ,
1. you need to install licensed program 5722SS1 option 22,
2. change network attributes to “Allow Anynet support” to *YES
3. create a host table entry on host system for target system with valid IP address with host name of targetsysname.SNA.IBM.COM
4. create an APPC controller on host and target systems using this
CRTCTLAPPC CTLD(XXXX) LINKTYPE(*ANYNW) RMTNETID(SYSTEMB) RMTCPNAME(ANYNET)TEXT(‘AnyNet connection to system SYSTEMB’)
XXXX = the controller name
RMTNETID = the remote systems name
RMTCPNAME = the remote control point name
5. Then finally create or modify the Remote Configuration list for QAPPNRMT:
CRTCFGL TYPE(*APPNRMT) TEXT(‘AnyNet TCP Connection list’) <<ENTER>>
CHGCFGL TYPE(*APPNRMT) <<ENTER>>
REMOTE LOCATION= the target system name.
REMOTE NET ID: APPN
LOCAL LOCATION: The local systems name is found by issuing a DSPNETA.
REMOTE CONTROL POINT: Is the same control point that was used when creating the controller.
CONTROL POINT NET ID: APPN
If you need additional, please feel free to contact me.