• Packages that use IExecute2 
    Package Description
    com.ibm.dbb.build  
    • Uses of IExecute2 in com.ibm.dbb.build

      Classes in com.ibm.dbb.build that implement IExecute2 
      Modifier and Type Class and Description
      class  JCLExec
      Deprecated. 
      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.