Skip to main content

i had create a little project in Netexpress 5.x and wanted to import/convert this in Visual Cobol 10

This was not possible due errors

Is it possible to become the latest service packs for this product, to be able to see if this problem is solved or a new trouble?



------------------------------
Claude Greiner
Managing Director - Cobol Developer
Rocket Forum Shared Account
Rheinbreitbach Germany
------------------------------

i had create a little project in Netexpress 5.x and wanted to import/convert this in Visual Cobol 10

This was not possible due errors

Is it possible to become the latest service packs for this product, to be able to see if this problem is solved or a new trouble?



------------------------------
Claude Greiner
Managing Director - Cobol Developer
Rocket Forum Shared Account
Rheinbreitbach Germany
------------------------------

Hi Claude, please see my reply to your previous post. Visual Cobol 10.0 - Compile error COBCH0314 Illegal key | Rocket® Visual COBOL (formerly a Micro Focus® product)

Thanks 



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

Hi Claude, please see my reply to your previous post. Visual Cobol 10.0 - Compile error COBCH0314 Illegal key | Rocket® Visual COBOL (formerly a Micro Focus® product)

Thanks 



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------
Hello Chris,

i had seen you answer for the illegal key!
Wich time is VC11 coming? your customer may wait so long time by this
critical compiling errors?

But now with vc10, it is not possible to convert a netexpress project to
vc10.
I had download the newest and latest Rocket Software VC10 PE and had no
installation errors or licensing trouble. Never had this
trouble by all older vc version (3 to 9)

Can i send you a zip file, where you are able to see the two problems?

Many thanks

Claude Greiner

>>> Chris Glazier via Rocket Software Forum
01.04.2025, 14:38 >>>

Hi Claude, please see my reply to your previous post. Visual Cobol 10.0
- Compile error COBCH0314 Illegal key | Rocket® Visual
COBOL (formerly a...

Invite colleagues to join Rocket Forum and expand our expert network!

----------------------------------------------------------------------------------------------------------------------------------

https://community.rocketsoftware.com


ROCKET® VISUAL COBOL (FORMERLY A MICRO FOCUS® PRODUCT)
[https://community.rocketsoftware.com/forums/forum-home/digestviewer?CommunityKey=fc99efc3-3189-48e3-860f-01928efec020]

Post New Message Online
[http://community.rocketsoftware.com/participate/postmessage?GroupId=373&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Post New
Message
[ROCKET-rocketvisualcobolformerlyamicrofocusproduct@ConnectedCommunity.org]
Invite your colleagues to join the Rocket Forum and grow our expert
network. Share this link.
[https://community.rocketsoftware.com/register]

Re: Visual Cobol 10.0 Personal edition
[https://community.rocketsoftware.com/discussion/visual-cobol-100-personal-edition#bma161cb8a-174a-4bf1-92c9-0195f1599376]

Reply to Group Online
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Reply to Group
[ROCKET_rocketvisualcobolformerlyamicrofocusproduct_a161cb8a-174a-4bf1-92c9-0195f1599376@ConnectedCommunity.org?subject=Re:
Visual
Cobol 10.0 Personal edition] Reply to Sender
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39&SenderKey=714ed438-7a69-4df3-a513-019290913983]
Reply to Sender via Email [cglazier@rocketsoftware.com?subject=Re:
Visual Cobol 10.0 Personal edition]

https://community.rocketsoftware.com/network/members/profile?UserKey=714ed438-7a69-4df3-a513-019290913983

Apr 1, 2025 8:36 AM Chris Glazier
[https://community.rocketsoftware.com/network/members/profile?UserKey=714ed438-7a69-4df3-a513-019290913983]

Hi Claude, please see my reply to your previous post. Visual Cobol 10.0
- Compile error COBCH0314 Illegal key | Rocket® Visual
COBOL (formerly a Micro Focus® product)
[https://community.rocketsoftware.com/discussion/visual-cobol-100-compile-error-cobch0314-illegal-key?ReturnUrl=%2fforums%2fforum-home%2fdigestviewer%3fcommunitykey%3dfc99efc3-3189-48e3-860f-01928efec020]

Thanks



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------


Reply to Group Online
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Reply to Group via Email
[ROCKET_rocketvisualcobolformerlyamicrofocusproduct_a161cb8a-174a-4bf1-92c9-0195f1599376@ConnectedCommunity.org?subject=Re:
Visual
Cobol 10.0 Personal edition] Reply to Sender Online
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39&SenderKey=714ed438-7a69-4df3-a513-019290913983]
View Thread
[https://community.rocketsoftware.com/discussion/visual-cobol-100-personal-edition#bma161cb8a-174a-4bf1-92c9-0195f1599376]

Forward
[https://community.rocketsoftware.com/forums/all-discussions/forwardmessages?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Flag as Inappropriate
[https://community.rocketsoftware.com/discussion/visual-cobol-100-personal-edition?MarkAppropriate=a161cb8a-174a-4bf1-92c9-0195f1599376#bma161cb8a-174a-4bf1-92c9-0195f1599376]
Post New Message Online
[http://community.rocketsoftware.com/participate/postmessage?GroupId=373&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Post New
Message via Email
[ROCKET-rocketvisualcobolformerlyamicrofocusproduct@ConnectedCommunity.org]


Hello Chris,

i had seen you answer for the illegal key!
Wich time is VC11 coming? your customer may wait so long time by this
critical compiling errors?

But now with vc10, it is not possible to convert a netexpress project to
vc10.
I had download the newest and latest Rocket Software VC10 PE and had no
installation errors or licensing trouble. Never had this
trouble by all older vc version (3 to 9)

Can i send you a zip file, where you are able to see the two problems?

Many thanks

Claude Greiner

>>> Chris Glazier via Rocket Software Forum
01.04.2025, 14:38 >>>

Hi Claude, please see my reply to your previous post. Visual Cobol 10.0
- Compile error COBCH0314 Illegal key | Rocket® Visual
COBOL (formerly a...

Invite colleagues to join Rocket Forum and expand our expert network!

----------------------------------------------------------------------------------------------------------------------------------

https://community.rocketsoftware.com


ROCKET® VISUAL COBOL (FORMERLY A MICRO FOCUS® PRODUCT)
[https://community.rocketsoftware.com/forums/forum-home/digestviewer?CommunityKey=fc99efc3-3189-48e3-860f-01928efec020]

Post New Message Online
[http://community.rocketsoftware.com/participate/postmessage?GroupId=373&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Post New
Message
[ROCKET-rocketvisualcobolformerlyamicrofocusproduct@ConnectedCommunity.org]
Invite your colleagues to join the Rocket Forum and grow our expert
network. Share this link.
[https://community.rocketsoftware.com/register]

Re: Visual Cobol 10.0 Personal edition
[https://community.rocketsoftware.com/discussion/visual-cobol-100-personal-edition#bma161cb8a-174a-4bf1-92c9-0195f1599376]

Reply to Group Online
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Reply to Group
[ROCKET_rocketvisualcobolformerlyamicrofocusproduct_a161cb8a-174a-4bf1-92c9-0195f1599376@ConnectedCommunity.org?subject=Re:
Visual
Cobol 10.0 Personal edition] Reply to Sender
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39&SenderKey=714ed438-7a69-4df3-a513-019290913983]
Reply to Sender via Email [cglazier@rocketsoftware.com?subject=Re:
Visual Cobol 10.0 Personal edition]

https://community.rocketsoftware.com/network/members/profile?UserKey=714ed438-7a69-4df3-a513-019290913983

Apr 1, 2025 8:36 AM Chris Glazier
[https://community.rocketsoftware.com/network/members/profile?UserKey=714ed438-7a69-4df3-a513-019290913983]

Hi Claude, please see my reply to your previous post. Visual Cobol 10.0
- Compile error COBCH0314 Illegal key | Rocket® Visual
COBOL (formerly a Micro Focus® product)
[https://community.rocketsoftware.com/discussion/visual-cobol-100-compile-error-cobch0314-illegal-key?ReturnUrl=%2fforums%2fforum-home%2fdigestviewer%3fcommunitykey%3dfc99efc3-3189-48e3-860f-01928efec020]

Thanks



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------


Reply to Group Online
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Reply to Group via Email
[ROCKET_rocketvisualcobolformerlyamicrofocusproduct_a161cb8a-174a-4bf1-92c9-0195f1599376@ConnectedCommunity.org?subject=Re:
Visual
Cobol 10.0 Personal edition] Reply to Sender Online
[https://community.rocketsoftware.com/forums/all-discussions/postreply?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39&SenderKey=714ed438-7a69-4df3-a513-019290913983]
View Thread
[https://community.rocketsoftware.com/discussion/visual-cobol-100-personal-edition#bma161cb8a-174a-4bf1-92c9-0195f1599376]

Forward
[https://community.rocketsoftware.com/forums/all-discussions/forwardmessages?MessageKey=a161cb8a-174a-4bf1-92c9-0195f1599376&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Flag as Inappropriate
[https://community.rocketsoftware.com/discussion/visual-cobol-100-personal-edition?MarkAppropriate=a161cb8a-174a-4bf1-92c9-0195f1599376#bma161cb8a-174a-4bf1-92c9-0195f1599376]
Post New Message Online
[http://community.rocketsoftware.com/participate/postmessage?GroupId=373&ListKey=98dec12c-70e3-40e9-b884-01928fce6d39]
Post New
Message via Email
[ROCKET-rocketvisualcobolformerlyamicrofocusproduct@ConnectedCommunity.org]

You can try uploading the zip file to this forum using the Upload File button on the lower right but there is a limit on size so if there are unnecessary files such as executables in the zip, please remove them.



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

You can try uploading the zip file to this forum using the Upload File button on the lower right but there is a limit on size so if there are unnecessary files such as executables in the zip, please remove them.



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

for Chris,

here the upload for my 2 troubles:

  1. illegal key
  2. importing/converting a netexpress 5.x app to vc10

i use the newest windows 11 24h2 with all new patches, all visual studio 2022 patches and the latest vc10 pe software from rocket (not the older version from Microfocus)



------------------------------
Claude Greiner
Managing Director - Cobol Developer
Rocket Forum Shared Account
Rheinbreitbach Germany
------------------------------

for Chris,

here the upload for my 2 troubles:

  1. illegal key
  2. importing/converting a netexpress 5.x app to vc10

i use the newest windows 11 24h2 with all new patches, all visual studio 2022 patches and the latest vc10 pe software from rocket (not the older version from Microfocus)



------------------------------
Claude Greiner
Managing Director - Cobol Developer
Rocket Forum Shared Account
Rheinbreitbach Germany
------------------------------

The error with the renames on a key is fixed in V11 which does not yet have a GA date.

If the error, you are receiving when importing the Net Express project is that there is no template then you are probably running a version of Visual Studio 2022, which is 17.13.4 or higher.

A bug has been found beginning with 17.13.4 which causes the COBOL templates not to be recognized. You can check if this is the problem if you create a new project and the COBOL templates are not shown in the list or if you open an existing project and try to add a new item.

The issue has already been reported to Microsoft, and there is currently no timeframe for a fix to be delivered by Microsoft.

The following information is from a KB article on the subject:

In the meantime, the workaround is to roll back to a previous version of Visual Studio 2022 that worked. This can be done by:

  1. Launching Visual Studio Installer
  2. Clicking More for Visual Studio 2022
  3. Clicking Rollback to previous version

There is another workaround to allow to use Visual Studio 2022 version 17.13.4, but it requires a caution to follow each step:

  1. Close all instances of the Visual Studio 2022 IDE
  2. Open Developer Command Prompt for VS 2022
  3. Issue these commands to determine the location of the PkgDef file of the COBOL extension (i.e. CBLPRJ.PKGDEF):
    CD %DEVENVDIR%\\EXTENSIONS
    DIR CBLPRJ.PKGDEF /S
  4. Note the last command will return the location where CBLPRJ.PKGDEF is located. Here is an example:
    Directory of C:\\Program Files\\Microsoft Visual Studio\\2022\\XXXX\\Common7\\IDE\\Extensions\\YYYY
    where XXXX is the edition of Visual Studio 2022 (e.g. Community, Professional, etc.)
    where YYYY is a random string as the name of the subfolder where CBLPRJ.PKGDEF is located
  5. Issue this command to change directory to the subfolder where CBLPRJ.PKGDEF is located:
    CD YYYY
    where YYYY is the name of the subfolder identified from previous step
  6. Issue this command to edit CBLPRJ.PKGDEF in Notepad:
    NOTEPAD CBLPRJ.PKGDEF
  7. Search for the following line and delete it:
    "TemplatesDir"="\\\\"
  8. Search for the same line a second time and delete it
  9. Search for the following line and delete it:
    "TemplatesDir"="\\.\\NullPath"
  10. Click File > Save
  11. Close Notepad
  12. Issue this command to apply the changes to the COBOL extension in Visual Studio:
    DEVENV /UPDATECONFIGURATION
  13. Close the command prompt
  14. Launch Visual Studio


------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

The error with the renames on a key is fixed in V11 which does not yet have a GA date.

If the error, you are receiving when importing the Net Express project is that there is no template then you are probably running a version of Visual Studio 2022, which is 17.13.4 or higher.

A bug has been found beginning with 17.13.4 which causes the COBOL templates not to be recognized. You can check if this is the problem if you create a new project and the COBOL templates are not shown in the list or if you open an existing project and try to add a new item.

The issue has already been reported to Microsoft, and there is currently no timeframe for a fix to be delivered by Microsoft.

The following information is from a KB article on the subject:

In the meantime, the workaround is to roll back to a previous version of Visual Studio 2022 that worked. This can be done by:

  1. Launching Visual Studio Installer
  2. Clicking More for Visual Studio 2022
  3. Clicking Rollback to previous version

There is another workaround to allow to use Visual Studio 2022 version 17.13.4, but it requires a caution to follow each step:

  1. Close all instances of the Visual Studio 2022 IDE
  2. Open Developer Command Prompt for VS 2022
  3. Issue these commands to determine the location of the PkgDef file of the COBOL extension (i.e. CBLPRJ.PKGDEF):
    CD %DEVENVDIR%\\EXTENSIONS
    DIR CBLPRJ.PKGDEF /S
  4. Note the last command will return the location where CBLPRJ.PKGDEF is located. Here is an example:
    Directory of C:\\Program Files\\Microsoft Visual Studio\\2022\\XXXX\\Common7\\IDE\\Extensions\\YYYY
    where XXXX is the edition of Visual Studio 2022 (e.g. Community, Professional, etc.)
    where YYYY is a random string as the name of the subfolder where CBLPRJ.PKGDEF is located
  5. Issue this command to change directory to the subfolder where CBLPRJ.PKGDEF is located:
    CD YYYY
    where YYYY is the name of the subfolder identified from previous step
  6. Issue this command to edit CBLPRJ.PKGDEF in Notepad:
    NOTEPAD CBLPRJ.PKGDEF
  7. Search for the following line and delete it:
    "TemplatesDir"="\\\\"
  8. Search for the same line a second time and delete it
  9. Search for the following line and delete it:
    "TemplatesDir"="\\.\\NullPath"
  10. Click File > Save
  11. Close Notepad
  12. Issue this command to apply the changes to the COBOL extension in Visual Studio:
    DEVENV /UPDATECONFIGURATION
  13. Close the command prompt
  14. Launch Visual Studio


------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

Hi Chris,

Thanks for this solution. I have been battling to start a COBOL project in Native mode - I only had .NET available. Your solution helped to reset the  Rocket (Micro Focus) Visual COBOL 10 PE Edition - Extension in Visual Studio Community Edition 17.13. 6. Many thanks

Colin



------------------------------
Colin De Vos
Mr
Rocket Forum Shared Account
------------------------------