KB Article #44291

How do you apply the key in MVS?

Problem

How do you apply the key in MVS?


Resolution

You can apply the key using either of the following solutions:



1. Modify the CFTPARM definition (either modify existing JCL or create a new one) to include the new key and if you are using the sample, run the E50PARM JCL. If not using the sample, run your own JCL to complete the key activation. OR



2. Modify the CFTPARM definition to include a path to an additional file containing the key (or multiple keys, one on each line). When CFT starts, it will check the first key. If rejected, it will try the second key, and so on, until it finds a match. With this solution, you also must run the JCL (E50PARM if you used the sample, or your own if you customized it). The syntax for the keyfile option is : " KEY = '#myfile.key' ". Don't forget to copy the old key to your new file! Also, remember that this key file must follow the local rules/permissions for file names.



For either solution, you must stop and restart the CFT to use the new key.