Hello
First I have complied the program then link edit and finally I am trying to execute it.
i am getting return code : 8413184 while executing the below script.
//Way to run the JCL
println ("Run the cobol program")
def run = new MVSExec().pgm("hello").parm("")
run.dd(new DDStatement().name("TASKLIB").dsn("TT6PBE1.BUILD.LOAD(hello)").options("shr"))
run.dd(new DDStatement().name("SYSOUT").options("cyl space(5,5) unit(vio) blksize(80) lrecl(80) recfm(f,b) new"))
run.dd(new DDStatement().name("SYSPRINT").options("cyl space(5,5) unit(vio) blksize(80) lrecl(80) recfm(f,b) new"))
run.copy(new CopyToHFS().ddName("SYSOUT").file(new File("/u/tt6pbe1/TT6PBE1/test1/cobol/out.log")))
run = run.execute()
println("run return code: $run")
Hi, I may be able to help but will need some more info. Have you tested your DBB environment's configuration to make sure all the moving parts are working?
Hello First I have complied the program then link edit and finally I am trying to execute it. i am getting return code : 8413184 while executing the below script. //Way to run the JCL