Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forced installation of COBOL Language Support by COBOL Control Flow #57

Open
FALLAI-Denis opened this issue Jan 5, 2024 · 3 comments
Open
Milestone

Comments

@FALLAI-Denis
Copy link

FALLAI-Denis commented Jan 5, 2024

Hi,

It seems that since the version 1.0.6 of COBOL Control Flow, the installation of COBOL Language Support is mandatory and automatically triggered...

image

This does not meet our expectations because while we like COBOL Control Flow, we do not use COBOL Language Support, and do not intend to use it...

COBOL Language Support conflicts with the extension that we have chosen to use to manage our COBOL sources, in particular on the search for COPYBOOKs, but surely on other points as well.

image

It also triggers false problems on certain COBOL syntaxes.

image

image

However, it is indicated at the COBOL Control Flow level that the use of COBOL Language Support is recommended, but not required.

COBOL Language Support cannot be uninstalled or disabled without also uninstalling or disabling COBOL Control FLow.

image

image

Is this a definitive situation, or is it possible to return to the previous situation where COBOL Language Support is not mandatory?

@zimlu02
Copy link
Contributor

zimlu02 commented Jan 8, 2024

Hi Denis,

thank you for your feedback and the missing documentation updates reminder (it will be fixed in the next patch release).

To provide the most accurate graph, CCF requires advanced syntax analysis that can only be provided by COBOL LS. It cannot be integrated with any other tool.
To empower you to still use CCF, we suggest the following steps: 

  • we will, with a priority, fix the issues that you have reported
  • assist you in setting up copybooks support (again - to render the correct graph we need information from copybooks and this cannot be retrieved from other tools than COBOL LS)
  • if needed, we can add the option to turn off any COBOL LS error reporting. In this mode, it would become invisible to you and it will only feed CCF 

@zimlu02
Copy link
Contributor

zimlu02 commented Jan 9, 2024

In the meantime, if you prefer, you can still downgrade to the previous version 1.0.5
https://code.visualstudio.com/updates/v1_30#_install-previous-versions

@FALLAI-Denis
Copy link
Author

Hi @zimlu02,

I understand that there will be no going back on the dependency between CCF and COBOL LS...
This is bad news for us because to date we are not considering switching to COBOL LS to replace our current solution based on another extension.

As far as we are concerned, COBOL LS is essentially missing the dynamic management of conditional compilation, which appeared with IBM Enterprise COBOL V6, and which is standardized COBOL ISO.
We took advantage of this functionality to create a framework based on copybooks which condition the call to other copybooks by a set of conditional compilation variables.
A first test carried out with COBOL LS demonstrates that there is no management of conditional compilation during analysis, and that all copybooks are systematically searched and included, even if discarded by conditional compilation, which then creates numerous errors in the analysis of the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants