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 ,
- You need to install licensed program 5722SS1 option 22,
- Change network attributes to “Allow Anynet support” to *YES
- Create a host table entry on host system for target system with valid IP address with host name of targetsysname.SNA.IBM.COM
- 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
- 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.