com.ibm.jzos.sample

Class MvsSubmitJob

  • java.lang.Object
    • com.ibm.jzos.sample.MvsSubmitJob


  • public class MvsSubmitJob
    extends java.lang.Object
    Sample program which submits a job to the internal reader. Getting status for an executing job requires an APF authorized program interface to the subsystem API. The TSO "STATUS" command can be executed via the REXX "TSO" command processor to obtain this information. See the sample "jobStatus" REXX script.
    Since:
    2.4.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      MvsSubmitJob() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      A sample main method that submits JCL read from a file and then polls its status (for up to a minute) until it is complete.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MvsSubmitJob

        public MvsSubmitJob()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException
        A sample main method that submits JCL read from a file and then polls its status (for up to a minute) until it is complete. The first argument to main can be a Unix file/path name or a "//DATASET.NAME".
        Throws:
        java.io.IOException
� Copyright IBM Corporation 2005, 2022.