A common topic to all three scenarios is the update of the license.
When your update is for a later year release (ex: 2021R# to 2022R#), then you need to request licenses for your products for that year and update the properties file containing your license keys.
To learn more about licenses, review the video on Veryant's YouTube channel: https://youtu.be/R6ScVpdT1XM.
1) Updating the isCOBOL production environment in standalone mode
If you are installing a later build of the same release (ex: 2022R1_1060.5 to 2022R1_1060.8), the setup program will install in the same folder and that's it, you do not need further steps to continue working.
If you are installing a different release, it would install in a different folder by default, though an alternative case is to have a generic folder for the installation (without the release number).
Example with the same folder name:
You had the 2021R1 runtime in c:isCOBOL
You install the 2022R1 runtime in c:isCOBOL
Example with different folder names (default):
You had: C:VeryantisCOBOL_SDK2021R1
And you update to: C:VeryantisCOBOL_SDK2022R1
On Windows if you are installing in the same generic folder then you can install on top of the old version and there are no further steps.
On Linux if you want to install in the same generic folder, you will first install in a different folder name (usually the default) and then move the installed files and folders from there to the generic folder.
After that no further steps are needed.
If you install the new isCOBOL version in a different folder name (default) and want to keep that different folder name, then you have to update the scripts you use to start your application, so they point to the new installation.
For example: (example for 2022R1 and JDK 8u321):
Windows
set ISCOBOL=C:VeryantisCOBOL_SDK2022R1 set ISCOBOL_JRE_ROOT=C:Program FilesJavajre1.8.0_321 set CLASSPATH=%ISCOBOL%lib*;%ISCOBOL%jars*;%ISCOBOL_JRE_ROOT%lib*;%CLASSPATH% PATH=%ISCOBOL%in;%ISCOBOL_JRE_ROOTin;%PATH%Linux
export ISCOBOL=/opt/veryant/isCOBOL_SDK2022R1 export ISCOBOL_JDK_ROOT=/opt/jre1.8.0_321 export CLASSPATH=$ISCOBOL/lib/*:$ISCOBOL/jars/*:$ISCOBOL_JRE_ROOT/lib/*:$CLASSPATH export PATH=$ISCOBOL/bin:$ISCOBOL_JRE_ROOT/bin:$PATHOn Windows you have the option to set the system environment variables during setup rather than having to set them in each start-up script.
2) Updating the isCOBOL production environment in Fat Client mode
In this environment the isCOBOL File Server and data files are on a central server and the isCOBOL runtime with all the programs of your application are installed on every client.
If the server is Windows and you use the Windows Service for the isCOBOL File Server, first uninstall that service using this command:
isserver -uninstall. Then use the setup program to install the new release and have it enable/install the Windows service for the file server on the same port as before.
isserver stopThen use the setup program to install the new release and restart with the command isserver start.
set ISCOBOL=C:VeryantisCOBOL_SDK2022R1 set ISCOBOL_JRE_ROOT=C:Program FilesJavajre1.8.0_321 set CLASSPATH=%ISCOBOL%lib*;%ISCOBOL%jars*;%ISCOBOL_JRE_ROOT%lib*;%CLASSPATH% PATH=%ISCOBOL%in;%ISCOBOL_JRE_ROOTin;%PATH%Linux
export ISCOBOL=/opt/veryant/isCOBOL_SDK2022R1 export ISCOBOL_JDK_ROOT=/opt/jre1.8.0_321 export CLASSPATH=$ISCOBOL/lib/*:$ISCOBOL/jars/*:$ISCOBOL_JRE_ROOT/lib/*:$CLASSPATH export PATH=$ISCOBOL/bin:$ISCOBOL_JRE_ROOT/bin:$PATHHere again, if the server installation is on Windows and you use the computer environment variables, then you can have the setup program to update those variables for you (or you update them manually in the computer's environment variables if you do not use the setup wizard) and no further changes to any script is needed before restarting the file server.
3) Updating the isCOBOL production environment in Thin Client mode
In this scenario, you have the isCOBOL Application Server, the application programs, and data files on a central server or servers and the clients only have the thin-client runtime installed.
If the server is Windows and you use the Windows Service for the Application server, first uninstall that windows service using this command:
isserver -uninstallThen use the setup program to install the new release and have it enable/install the Windows service for the Application server on the same port as before.
isserver stopThen use the setup program to install the new release and restart with the command:
isserver startIf you start the Application server with a script, then stop/kill the Application server first and install the new release in a new folder or the same folder as explained in section 1 above.
set ISCOBOL=C:VeryantisCOBOL_SDK2022R1 set ISCOBOL_JRE_ROOT=C:Program FilesJavajre1.8.0_321 set CLASSPATH=%ISCOBOL%lib*;%ISCOBOL%jars*;%ISCOBOL_JRE_ROOT%lib*;%CLASSPATH% PATH=%ISCOBOL%in;%ISCOBOL_JRE_ROOTin;%PATH%Linux
export ISCOBOL=/opt/veryant/isCOBOL_SDK2022R1 export ISCOBOL_JDK_ROOT=/opt/jre1.8.0_321 export CLASSPATH=$ISCOBOL/lib/*:$ISCOBOL/jars/*:$ISCOBOL_JRE_ROOT/lib/*:$CLASSPATH export PATH=$ISCOBOL/bin:$ISCOBOL_JRE_ROOT/bin:$PATHAgain, if the server installation is on Windows and you use the computer environment variables, then you can have the setup program to update those variables for you (or you update them manually in the computer's environment variables if you do not use the setup wizard) and no further changes to any script is needed before restarting the Application server.
Article ID: 330
Created: June 16, 2022
Last Updated: June 16, 2022
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=330