Class JobFile


  • public class JobFile
    extends Object
    Represents the name and details of an output (spool) DD for a z/OS batch job
    Version:
    5.0
    Author:
    Frank Giordano
    • Constructor Detail

      • JobFile

        public JobFile​(String jobName,
                       String jobId,
                       Long spoolId)
        Convenience constructor for creating a JobFile with only jobName, jobId, and id. All other fields will be set to default values.
        Parameters:
        jobName - Name of the job
        jobId - Job ID
        spoolId - Unique identifier for this spool file
      • JobFile

        public JobFile​(String jobId,
                       String jobName,
                       String recfm,
                       Long byteCount,
                       Long recordCount,
                       String jobCorrelator,
                       String classs,
                       Long id,
                       String ddName,
                       String recordsUrl,
                       Long lrecl,
                       String subSystem,
                       String stepName,
                       String procStep)
        JobFile constructor for Jackson JSON parsing.
        Parameters:
        jobId - Job ID
        jobName - Job name
        recfm - Record format
        byteCount - Total bytes in a spool file
        recordCount - Total records in a spool file
        jobCorrelator - Unique job identifier
        classs - Job class
        id - Spool file ID
        ddName - DD name
        recordsUrl - Records URL
        lrecl - Logical record length
        subSystem - JES subsystem
        stepName - Job step name
        procStep - Procedure step name
    • Method Detail

      • getByteCount

        public Long getByteCount()
        Retrieve byteCount specified
        Returns:
        byteCount value
      • getClasss

        public String getClasss()
        Retrieve classs specified
        Returns:
        classs value
      • getDdName

        public String getDdName()
        Retrieve ddName specified
        Returns:
        ddName value
      • getId

        public Long getId()
        Retrieve id specified
        Returns:
        id value
      • getJobCorrelator

        public String getJobCorrelator()
        Retrieve jobCorrelator specified
        Returns:
        jobCorrelator value
      • getJobId

        public String getJobId()
        Retrieve jobId specified
        Returns:
        jobId value
      • getJobName

        public String getJobName()
        Retrieve jobName specified
        Returns:
        jobName value
      • getLrecl

        public Long getLrecl()
        Retrieve lrecl specified
        Returns:
        lrecl value
      • getProcStep

        public String getProcStep()
        Retrieve procStep specified
        Returns:
        procStep value
      • getRecfm

        public String getRecfm()
        Retrieve recfm specified
        Returns:
        recfm value
      • getRecordCount

        public Long getRecordCount()
        Retrieve recordCount specified
        Returns:
        recordCount value
      • getRecordsUrl

        public String getRecordsUrl()
        Retrieve recordsUrl specified
        Returns:
        recordsUrl value
      • getStepName

        public String getStepName()
        Retrieve stepName specified
        Returns:
        stepName value
      • getSubSystem

        public String getSubSystem()
        Retrieve subSystem specified
        Returns:
        subSystem value
      • toString

        public String toString()
        Return string value representing JobFile object
        Overrides:
        toString in class Object
        Returns:
        string representation of JobFile