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

Added documentation of object decks with deployType #551

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion languages/Assembler.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def createAssemblerCommand(String buildFile, LogicalFile logicalFile, String mem
assembler.dd(new DDStatement().name("SYSUT1").options(props.assembler_tempOptions))

// define object dataset allocation
assembler.dd(new DDStatement().name("SYSLIN").dsn("${props.assembler_objPDS}($member)").options('shr').output(true))
assembler.dd(new DDStatement().name("SYSLIN").dsn("${props.assembler_objPDS}($member)").options('shr').output(true).deployType("OBJ"))

// create a SYSLIB concatenation with optional MACLIB and MODGEN
assembler.dd(new DDStatement().name("SYSLIB").dsn(props.assembler_macroPDS).options("shr"))
Expand Down
8 changes: 3 additions & 5 deletions languages/Cobol.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,9 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe

// add DD statements to the compile command

if (isZUnitTestCase){
if (isZUnitTestCase) {
compile.dd(new DDStatement().name("SYSIN").dsn("${props.cobol_testcase_srcPDS}($member)").options('shr').report(true))
}
else
{
} else {
compile.dd(new DDStatement().name("SYSIN").dsn("${props.cobol_srcPDS}($member)").options('shr').report(true))
}

Expand All @@ -211,7 +209,7 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe
}

// define object dataset allocation
compile.dd(new DDStatement().name("SYSLIN").dsn("${props.cobol_objPDS}($member)").options('shr').output(true))
compile.dd(new DDStatement().name("SYSLIN").dsn("${props.cobol_objPDS}($member)").options('shr').output(true).deployType("OBJ"))

// add a syslib to the compile command with optional bms output copybook and CICS concatenation
compile.dd(new DDStatement().name("SYSLIB").dsn(props.cobol_cpyPDS).options("shr"))
Expand Down
2 changes: 1 addition & 1 deletion languages/Easytrieve.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe
}

// define object dataset allocation
compile.dd(new DDStatement().name("SYSLIN").dsn("${props.easytrieve_objPDS}($member)").options('shr').output(true))
compile.dd(new DDStatement().name("SYSLIN").dsn("${props.easytrieve_objPDS}($member)").options('shr').output(true).deployType("OBJ"))

// add a syslib to the compile command
compile.dd(new DDStatement().name("PANDD").dsn(props.easytrieve_cpyPDS).options("shr"))
Expand Down
2 changes: 1 addition & 1 deletion languages/PLI.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe
}

// define object dataset allocation
compile.dd(new DDStatement().name("SYSLIN").dsn("${props.pli_objPDS}($member)").options('shr').output(true))
compile.dd(new DDStatement().name("SYSLIN").dsn("${props.pli_objPDS}($member)").options('shr').output(true).deployType("OBJ"))

// add a syslib to the compile command with optional bms output copybook and CICS concatenation
compile.dd(new DDStatement().name("SYSLIB").dsn(props.pli_incPDS).options("shr"))
Expand Down
2 changes: 1 addition & 1 deletion languages/REXX.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def createCompileCommand(String buildFile, LogicalFile logicalFile, String membe
String linkEditStream = props.getFileProperty('rexx_linkEditStream', buildFile)
String linkDebugExit = props.getFileProperty('rexx_linkDebugExit', buildFile)

compile.dd(new DDStatement().name("SYSPUNCH").dsn("${props.rexx_objPDS}($member)").options('shr').output(true))
compile.dd(new DDStatement().name("SYSPUNCH").dsn("${props.rexx_objPDS}($member)").options('shr').output(true).deployType("OBJ"))
String deployType = buildUtils.getDeployType("rexx_cexec", buildFile, null)
compile.dd(new DDStatement().name("SYSCEXEC").dsn("${props.rexx_cexecPDS}($member)").options('shr').output(true).deployType(deployType))

Expand Down