Automating the installation or update for multiple AS/400 IBMi
You can automate the installation or update of multiple AS/400 IBMi by just creating a Windows batch file (.BAT or .CMD) that runs the SETUPAS program in succession for all the AS/400 IBMi by entering the required parameters on the command line.
The SetupAS.exe syntax for an AS/400 IBMi with the IP address 195.195.95.11, user ID QSECOFR, and password SECURITY is the following:
- For an installation: SETUPAS I 195.195.95.11 QSECOFR SECURITY
- For an update: SETUPAS U 15.195.95.11 QSECOFR SECURITY
Below is a sample batch file for automating an update of Talend Change Data Capture (the package is located in drive R):
R:
CD \AS400 SETUPAS U 195.195.95.11 QSECOFR SECURITY
SETUPAS U 195.195.95.12 QSECOFR SECURITY
SETUPAS U 195.195.95.13 QSECOFR SECURITY