Can I transfer my region configurations from one platform to another?
Prashanth_Bhat 2700012A22 Visits (2322)
One common question that many TXSeries users ask is if they can transfer or migrate their region configurations across platforms. For example, users may create their applications on a Windows installation of TXSeries, for development and unit testing, and later on move to a different platform for deployment, say AIX.
With the release of the latest version, TXSeries V8.1, Linux as been added as a new supported platform. So, an existing TXSeries user looking to tryout TXSeries on Linux would want to recreate their region based on their existing regions on a different platform, say Windows, or AIX.
The answer is.. Yes, you can migrate regions across platforms!
The next question that would come to mind is …how do I achieve this?
So, You actually use the same tools to move region configurations across platforms, as you would to move across machines in the same platform – cicsexport and cicsimport
But there is a catch here - you need to take note of the Byte order ( Endian’ness) of the source platform and the target platforms. And if they are different, you have to provide a –B flag when you import the region configuration
For example, let us suppose that you are copying your region from an AIX machine to a Linux machine. Then, here are the steps that you would need:
1. Export the region on your AIX machine
# cicsexport -r REGION1 -o /tmp/region.export
2. Transfer the exported archive file ( /tmp/region.export ) to your Linux machine and then import the region.
Since AIX has big-endian byte ordering and Linux has little-endian byte ordering, you would need to 'switch' the byte ordering while importing on the Linux machine.
# cicsimport -r REGION1 -i /region.export -B
Since you are moving across platforms, it goes without saying, but I'll say it anyway, that you have to recompile your applications.
Also note that if your older region was on a previous version of TXSeries, then you would have to follow the migration steps to get to the latest level.
And finally, here's a ready reckoner on the byte ordering of each OS and platform that TXSeries supports