propertyGroups:
The propertyGroups: mapping key defines the beginning of
property group configurations in the ZAPP file.
Property group configurations in the ZAPP
file do not support variable substitution. The
propertyGroups: section contains one
or more of the following mappings.- name:
- The name of the property group, which is used in hovers and error messages.
- language:
- A property group that is defined in a ZAPP file can support only one of the following languages: cobol, pl1, hlasm, rexx, jcl. Specify one of these values.
- compilerOptions:
- Global compiler options, separated by a comma, that impact the parsing of the programs for the editor. Use of this mapping requires that you specify a language. If there are multiple property groups for a language with compiler options then the compiler options are concatenated.
- libraries:
- An array of library locations defining the search order for include files. Libraries with the name syslib are handled as default include locations. The list can contain many entries of the type local or mvs. It can contain items of the same type twice, for example, if you want to search in remote locations first, then some local location, and, if still not found, more remote locations.
libraries:
- name:
- The name of the library. If no named libraries are included, the default is syslib.
- type:
- The type of the property group defining where dependencies are located. Specify local for using a local workspace or mvs for dependencies located in MVS data sets.
- locations:
- An array of include file locations. For local libraries, values can be absolute or relative file name paths that use GLOB patterns, such as **/copybook. For MVS libraries, values can be data set names, such as USERIBM.SAMPLE.COBCOPY. GLOB patterns for data set names are not supported.
Limitations: If multiple copies of a copybook or include file exist in
the z/OS project, the absolute file path of the one to upload must be specified in the
locations field. Otherwise, the incorrect copybook or include file might be
used when running the zBuilder User Build.
Example
propertyGroups:
- name: cobol-copybooks
language: cobol
libraries:
- name: syslib
type: local
locations:
- "**/COPYBOOK"
- name: syslib
type: mvs
locations:
- "USERIBM.SAMPLE.COBCOPY"
- name: MYLIB
type: mvs
locations:
- USERIBM.SAMPLE.COPYLIB
- name: MYLIB
type: local
locations:
- "**/COPYLIB-MVS"
- name: MYFILE
type: local
locations:
- "**/COPYLIB"
- name: pl1-includes
language: pl1
compilerOptions: not(!)
libraries:
- name: syslib
type: local
locations:
- "**/INCLUDES"
- name: syslib
type: mvs
locations:
- USERIBM.SAMPLE.PLINC
- name: MYLIB
type: mvs
locations:
- "USERIBM.SAMPLE.PLI.INCLLIB"
- name: MYLIB
type: local
locations:
- "**/INCLUDELIB-MVS"
- name: MYFILE
type: local
locations:
- "**/INCLUDELIB"
- name: hlasm-local
language: hlasm
libraries:
- name: syslib
type: local
locations:
- "**/ASMCOPY"
- name: maclib
type: local
locations:
- "**/ASMMAC"
- name: rexx-local
language: rexx
libraries:
- name: syslib
type: local
locations:
- "**/REXXINC"
- name: REXXLIB
type: local
locations:
- "**/REXXLIB"