Hi,
We use the IBM Enterprise COBOL V6R4 (June 2023) compiler in a USS shell script: compilation using IBM Dependency Based Build.
See sample here: https://github.com/IBM/dbb-zappbuild/blob/main/languages/Cobol.groovy
We are having issues with handling copybook inclusions: incomplete inclusion, duplicate code... especially when the same copybook is referenced multiple times but with different replacement parameters.
No particular error message is issued other than that the code produced by including the copybooks is not compilable.
The same program, same copybooks, same compilation options, compiles without any problem in a traditional JCL under MVS.
We use IGYCRTL in both case, (no use of cob2 under uss).
Copybooks are PDS-E (LIBRARY) members, no USS files.
SYSUTn files are allocated identically under USS and in the MVS JCL. The sizes have even been increased for compilation under USS without this providing a solution.
So why can't the IBM Enterprise COBOL V6R4 compiler compile programs in a USS shell context?
What are the dependencies and differences between running under USS and running under MVS?
Are there any USS/OMVS prerequisites that we have not implemented?
Why can't the compiler include copybooks correctly under USS? and without issuing any error messages about it?
Could this be related to a memory size issue under USS? Issue about zFS contening the Home Directory of active user, (size problem)?
Thanks for help.