CA Gen Build Tool error "OPT.VSVERSION contains an unknown value or specified Visual Studio compiler not installed"

book

Article ID: 142142

calendar_today

Updated On:

Products

CA Gen CA Gen - Workstation Toolset

Issue/Introduction

Attempting to generate modules within Gen 8.6 and get the error: 

"CA Gen Build Tool Compose
Copyright (c) 2016 CA. All rights reserved.

Exception caught: java.lang.RuntimeException:*** OPT.VSVERSION contains an unknown value () or the specified Visual Studio compiler is not installed.

Compose Failed"

 

Environment

Release : 8.6

Component : CA Gen Workstation Toolset and Build Tool

Resolution

The error from the .out file for the build of the module is "Exception caught: java.lang.RuntimeException:*** OPT.VSVERSION contains an unknown value () or the specified Visual Studio compiler is not installed."

The value with the Build Tool Profile Manager token OPT.VSVERSION is defaulted to VS140.  The value (VS140) corresponds to the install of VS2015 on this machine.  You will get the above error if you have an invalid value for the token, VS140 is valid... OR the value does not match the version of Visual Studio installed.   The value VS140 corresponds to an install of MS VS2015.  While the value VS150 corresponds to MS VS2017.

Gen r8.6 is certified/supported for:

  • Microsoft Visual Studio Professional 2015
  • Microsoft Visual Studio Professional 2017

Per the technical requirements:

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/devops/ca-gen/8-6/technical-requirements/third-party-software-version.html

 

For Reference:  The OPT.VSVERSION value for MS VS2015 is VS140 and for VS2017 it is VS150. 

 

Additional Information

CA Gen 8.6 Build Tool token OPT.VSVERSION value for Microsoft Visual Studio 2017 or 2019

Per the above article Gen 8.6 Complete PTF WKS86200/SO09618 should be installed to provide the VS 2017 support.
The VS 2017 support was originally delivered with a series of *861* PTFs but WKS86200 supersedes them. WKS86200 is also the baseline for all new 8.6 PTFs, so it should be installed as a matter of course, to be able to install any later PTFs.
CA Gen 8.6 >Technical Requirements > Change Summary