Skip to content

Commit

Permalink
Release zAppBuild 2.3.1 (#178)
Browse files Browse the repository at this point in the history
* fix additional datasets in syslib for ASM and REXX language scripts
  • Loading branch information
dennis-behm authored Feb 15, 2022
1 parent 6c942bb commit 74c662a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions languages/Assembler.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,11 @@ def createAssemblerCommand(String buildFile, LogicalFile logicalFile, String mem
assembler.dd(new DDStatement().name("SYSLIB").dsn(props.assembler_macroPDS).options("shr"))

// add additional datasets with dependencies based on the dependenciesDatasetMapping
PropertyMapping dsMapping = new PropertyMappings('assembler_dependenciesDatasetMapping')
dsMapping.getProperties().values().each { targetDatasets ->
if (targetDatasets != 'assembler_macroPDS') assembler.dd(new DDStatement().dsn(props.getProperty(targetDatasets)).options("shr"))
PropertyMappings dsMapping = new PropertyMappings('assembler_dependenciesDatasetMapping')
dsMapping.getValues().each { targetDataset ->
// exclude the defaults assembler_macroPDS
if (targetDataset != 'assembler_macroPDS')
assembler.dd(new DDStatement().dsn(props.getProperty(targetDataset)).options("shr"))
}

// add custom external concatenations
Expand Down
8 changes: 5 additions & 3 deletions languages/REXX.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,11 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe
compile.dd(new DDStatement().name("SYSLIB").dsn(props.rexx_srcPDS).options("shr"))

// add additional datasets with dependencies based on the dependenciesDatasetMapping
PropertyMapping dsMapping = new PropertyMappings('rexx_dependenciesDatasetMapping')
dsMapping.getProperties().values().each { targetDatasets ->
if (targetDatasets != 'rexx_srcPDS') rexx.dd(new DDStatement().dsn(props.getProperty(targetDatasets)).options("shr"))
PropertyMappings dsMapping = new PropertyMappings('rexx_dependenciesDatasetMapping')
dsMapping.getValues().each { targetDataset ->
// exclude the defaults rexx_srcPDS
if (targetDataset != 'rexx_srcPDS')
rexx.dd(new DDStatement().dsn(props.getProperty(targetDataset)).options("shr"))
}

// add custom concatenation
Expand Down

0 comments on commit 74c662a

Please sign in to comment.