Class ZosBatchJobcard

java.lang.Object
dev.galasa.zosbatch.ZosBatchJobcard

public class ZosBatchJobcard extends Object
Provides overrides for the Jobcard for jobs submitted via the Batch Manager. No validation is performed on the values that are set
Author:
Michael Baylis
  • Constructor Details

    • ZosBatchJobcard

      public ZosBatchJobcard()
  • Method Details

    • setInputClass

      public ZosBatchJobcard setInputClass(String inputClass)
      Parameters:
      inputClass - value for CLASS=
      Returns:
      this class for Fluent calls
    • setMsgClass

      public ZosBatchJobcard setMsgClass(String msgClass)
      Parameters:
      msgClass - value for MSGCLASS=
      Returns:
      this class for Fluent calls
    • setMsgLevel

      public ZosBatchJobcard setMsgLevel(String msgLevel)
      Parameters:
      msgLevel - value for MSGLEVEL=
      Returns:
      this class for Fluent calls
    • setRegion

      public ZosBatchJobcard setRegion(String region)
      Parameters:
      region - value for REGION=
      Returns:
      this class for Fluent calls
    • setMemlimit

      public ZosBatchJobcard setMemlimit(String memlimit)
      Parameters:
      memlimit - value for MEMLIMIT=
      Returns:
      this class for Fluent calls
    • setTyprun

      public ZosBatchJobcard setTyprun(ZosBatchJobcard.Typrun typrun)
      Parameters:
      typrun - value for TYPRUN=
      Returns:
      this class for Fluent calls
    • setUser

      public ZosBatchJobcard setUser(String user)
      Parameters:
      user - value for USER=
      Returns:
      this class for Fluent calls
    • setPassword

      public ZosBatchJobcard setPassword(String password)
      Parameters:
      password - value for PASSWORD=
      Returns:
      this class for Fluent calls
    • setCond

      public ZosBatchJobcard setCond(String cond)
      Parameters:
      cond - value for COND=
      Returns:
      this class for Fluent calls
    • setTime

      public ZosBatchJobcard setTime(String time)
      Parameters:
      time - value for time field on JOB
      Returns:
      this class for Fluent calls
    • setAccount

      public ZosBatchJobcard setAccount(String account)
      Parameters:
      account - value for account field on JOB
      Returns:
      this class for Fluent calls
    • setProgrammerName

      public ZosBatchJobcard setProgrammerName(String progname)
      Parameters:
      progname - value for programmer field on JOB
      Returns:
      this class for Fluent calls
    • getInputClass

      public String getInputClass()
      Returns:
      CLASS= value
    • getMsgClass

      public String getMsgClass()
      Returns:
      MSGCLASS= value
    • getMsgLevel

      public String getMsgLevel()
      Returns:
      MSGLEVEL= value
    • getRegion

      public String getRegion()
      Returns:
      REGION= value
    • getMemlimit

      public String getMemlimit()
      Returns:
      MEMLIMIT= value
    • getTyprun

      public ZosBatchJobcard.Typrun getTyprun()
      Returns:
      TYPRUN= value
    • getUser

      public String getUser()
      Returns:
      USER= value
    • getPassword

      public String getPassword()
      Returns:
      PASSWORD= value
    • getCond

      public String getCond()
      Returns:
      COND= value
    • getTime

      public String getTime()
      Returns:
      TIME= value
    • getAccount

      public String getAccount()
      Returns:
      JOB account value
    • getProgrammerName

      public String getProgrammerName()
      Returns:
      JOB programmer value
    • getJobcard

      public String getJobcard(String jobname, IZosImage image) throws ZosBatchManagerException
      Returns:
      the built job card
      Throws:
      ZosBatchManagerException
    • nulled

      protected String nulled(String value)