RPGIV @ Work

A unique site for RPG and System i Lovers

Welcome!

Hi, this site will provide all what you need in System i and RPG developments.

My Name is Chamara Withanachchi, System i Expert and RPG Developer. And in the field for last 11 years.

I hope you will find lot of valuable information from this site

Saving All TCP/IP Configuration Files Print E-mail
User Rating: / 0
PoorBest 
Written by Chamara Withanachchi   
Saving All TCP/IP Configuration Files

Saving just the physical configuration files and then restoring them can cause problems. This is because the logical files, which are used by different functions to access the data stored in the physical files, point to the renamed physical file if just the physical file is restored. The renamed physical file, which is created by the restore database functions, maintains the indexes to the logical files. Another reason to save and restore the configuration files as a group is that there are some dependencies between some of the files. Saving and restoring just a subset of the files could also cause problems, especially when activating TCP/IP processing.


One method to save all TCP/IP files (logical and physical) is to type the following commands:


SAVOBJ OBJ(QATOC*) LIB(QUSRSYS) DEV(*SAVF) OBJTYPE(*FILE) SAVF(yourlib/yoursavf)
SAVOBJ OBJ(QATM*) LIB(QUSRSYS) DEV(*SAVF) OBJTYPE(*FILE) SAVF(yourlib/yoursavf)
<Previous   Next>