• Deprecated Classes 
    Class and Description
    com.ibm.dbb.build.JCLExec
    As of release 2.0.1, replaced by JobExec.

    Submit a JCL in a member of a data set, or a file on HFS, or an internal memory. Example of usage:

     JCLExec exec = new JCLExec()
     exec.confDir('/var/dbb_1.0.1/conf')
     def rc = exec.dataset('USER.JCL').member('SAMPLE').execute()
     println "Job '${exec.getSubmittedJobId()}' was submitted successfully with maxRC = ${exec.maxRC}"
     exec.getAllDDNames().each({ ddName -> println "DD Name: $ddName"
         def file = new File("/u/user/sample/${ddName}.output")
         exec.saveOutput(ddName, file, null)    
     })
     

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.