Closed paulobigas closed 1 year ago
Hi there, based on the log and description of your environment it sounds like there may be a couple issues if I'm understanding your setup correctly:
name
entries, one with a value of test
and one with the value IBM CORPORATION
you'll need to remove one of those for the yaml file to be parsed correctly, it shouldn't matter which one you remove. .vscode
directory, it actually needs to be placed in the top level directory of your workspace. So for example:Incorrect:
workspace
└───.vscode
│ settings.json
│ zapp.yaml
└───COBOL
│ └───COPYBOOK
│ │ │ COPY.cpy
│ │ │ ...
│ │
│ └───SAM
│ │ ...
Correct:
workspace
└───.vscode
│ settings.json
└───COBOL
│ └───COPYBOOK
│ │ │ COPY.cpy
│ │ │ ...
│ │
│ └───SAM
│ │ SAM1.cbl
│ │ ...
└───.zapp.yaml
So it should be at the same level as the .vscode folder. Let us know if these changes help get copybooks resolved. The biggest thing to look for in your log would be to see that instead of the message that says:
WARN : You opened a file with include files, but do not have a Property Group defined that specifies where to find them. Review the documentation and your settings or Zapp files.
You'll instead receive one that says:
DEBUG: ZAPP: A valid ZAPP file was found in "your-dir-here" and will be used instead of user settings.
That was it! I just moved the my zapp.yaml to my workspace directory and it worked. Thank you very much!
Hello, I trying to define a propriety group for the copybook's members in my VSCode /IBM ZOpenEditor, in a z/osmf connection to my mvs files. But no matter what i try it seems he don't detect any propriety group created ( - COBOL Property Groups defined: None). I have the YAML extension installed and the zapp.yaml file in the .vscode directory. Even the local files aren't detected.
What am I doing wrong?
Thanks in advance,
->DEBUG 2023-02-20T13:19:49.898Z DEBUG: ZLanguagesResourceResolver.documentRequested: The COBOL language server requested the following include file: "GMCD0400". The ID for this request was assigned as "wq2vw" There are 1 pending requests being processed. 2023-02-20T13:19:49.899Z WARN : You opened a file with include files, but do not have a Property Group defined that specifies where to find them. Review the documentation and your settings or Zapp files. 2023-02-20T13:19:49.902Z WARN : The COBOL language server requested the include file "GMCD0400", which was not found. enforceCaseSensitiveIncludeFileNames was set to false. Check your Zowe CLI profile and property group settings and if you have not already done so, switch to the "DEBUG" log level for more information. 2023-02-20T13:19:49.903Z DEBUG: ZLanguagesResourceResolver.buildResponse(RequestId:wq2vw): File "GMCD0400" was not found. 2023-02-20T13:19:49.904Z DEBUG: ZLanguagesResourceResolver.buildResponse(RequestId:wq2vw): Finished request wq2vw. 0 pending requests left to process. 2023-02-20T13:19:49.906Z DEBUG: ZLanguagesResourceResolver.documentRequested: The COBOL language server requested the following include file: "AMCV3800". The ID for this request was assigned as "iw9e4b" There are 1 pending requests being processed.
->ZAPP File ################################################################
name: test description: For IBM Z Open Editor 3.0.0 or newer. Wazi's code samples with COBOL, PL/I, and HLASM applications version: 3.0.0 author: name: IBM CORPORATION
propertyGroups: