[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

AS/400 Copy Files to Old Release

I have 2 iSeries (AS/400), one running V6R1 (production) and the other running V4R4 (testing/backup).  I have legacy S/36 programs that I still use and modify.  I need to be able to regularly transfer all QS36F files from the V6R1 machine to the V4R4 machine for testing and backup (in the event of a catastrophic problem with the newer iSeries machine).  V4R4 is not included as an option for the 'previous release' parameter on the SAVLIB command on the V6R1 machine.  What is the easiest way to transfer these files to the QS36F library on the V4R4 machine so they can be used on that machine with the programs that run in S/36 mode?  I've heard that FTP can be used, but I don't know how to handle the S/36 indexes.
0
doninh
Asked:
doninh
  • 4
  • 2
1 Solution
 
Gary PattersonVP Technology / Senior Consultant Commented:
Personally, I prefer DDM.  You can create DDM files on your V6R1 box that point to matching files on the V4R4 box.  Then just use CPYF to copy the files as if they were local.  (CRTDDMF command.)

You do have to configure DDM on each machine, and create one DDM file for each physical file.

Once the DDM files are created, you can just create a CL program with one CPYF per file for each file you need to update.

Post back if you need more help.

- Gary Patterson

 
0
 
doninhAuthor Commented:
I've never used DDM, is it complicated to set up?  I have the two machines connected using ethernet and TCP/IP.  If you have any examples I would greatly appreciate seeing them.
Thanks,
Don Iverson
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Gary PattersonVP Technology / Senior Consultant Commented:
0
 
doninhAuthor Commented:
Thank you, Gary.  I appreciate the links to the other information that could have been a real 'gotcha'!  This will give me exactly what I need.
- Don Iverson
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Don,

Happy to help.  I have often used DDM for replicating test data automatically between production, development, and testing environments on multiple machines (or multiple partitions).  DDM also works with S/36, S/36 Environment on AS/400, and it is a great tool when working with the Advanced/36 (which runs SSP as a full-blown guest operating system under OS/400).

I especially like DDM when I am extracting a subset of data.  You can use OPNQRYF, RPG programs, SQL, or your favorite data extraction techniques to pump data from place-to-place, and you can run local programs over remote data sets by just changing the library list in many cases.

- Gary Patterson
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now