Class Dataset


  • public class Dataset
    extends Object
    Represents a z/OS data set
    Version:
    5.0
    Author:
    Nikunj Goyal
    • Constructor Detail

      • Dataset

        public Dataset​(String dsname,
                       String blksz,
                       String catnm,
                       String cdate,
                       String dev,
                       String dsntp,
                       String dsorg,
                       String edate,
                       String extx,
                       String lrectl,
                       String migr,
                       String mvol,
                       String ovf,
                       String rdate,
                       String recfm,
                       String sizex,
                       String spacu,
                       String used,
                       String vol)
        Dataset constructor for Jackson JSON parsing
        Parameters:
        dsname - the dataset name
        blksz - block size
        catnm - catalog name
        cdate - creation date
        dev - device type
        dsntp - dataset type
        dsorg - organization type
        edate - expiration date
        extx - number of extensions
        lrectl - record length
        migr - migration indicator
        mvol - multi-volume indicator
        ovf - open virtualization format
        rdate - last referenced date
        recfm - record format
        sizex - size of the first extent
        spacu - space units
        used - used percentage
        vol - volume name
    • Method Detail

      • getDsname

        public String getDsname()
        Retrieve the name of the dataset
        Returns:
        string value
      • getBlksz

        public String getBlksz()
        Retrieve block size of the dataset
        Returns:
        string value
      • getCatnm

        public String getCatnm()
        Retrieve catnm of the dataset
        Returns:
        string value
      • getCdate

        public String getCdate()
        Retrieve creation date of the dataset
        Returns:
        string value
      • getDev

        public String getDev()
        Retrieve dev of the dataset
        Returns:
        string value
      • getDsntp

        public String getDsntp()
        Retrieve dsntp of the dataset
        Returns:
        string value
      • getDsorg

        public String getDsorg()
        Retrieve dsorg of the dataset
        Returns:
        string value
      • getEdate

        public String getEdate()
        Retrieve edate of the dataset
        Returns:
        string value
      • getExtx

        public String getExtx()
        Retrieve extx of the dataset
        Returns:
        string value
      • getLrectl

        public String getLrectl()
        Retrieve lrectl of the dataset
        Returns:
        string value
      • getMigr

        public String getMigr()
        Retrieve migr of the dataset
        Returns:
        string value
      • getMvol

        public String getMvol()
        Retrieve mvol of the dataset
        Returns:
        string value
      • getOvf

        public String getOvf()
        Retrieve ovf of the dataset
        Returns:
        string value
      • getRdate

        public String getRdate()
        Retrieve rdate of the dataset
        Returns:
        string value
      • getRecfm

        public String getRecfm()
        Retrieve recfm of the dataset
        Returns:
        string value
      • getSizex

        public String getSizex()
        Retrieve sizex of the dataset
        Returns:
        string value
      • getSpacu

        public String getSpacu()
        Retrieve spacu of the dataset
        Returns:
        string value
      • getUsed

        public String getUsed()
        Retrieve used of the dataset
        Returns:
        string value
      • getVol

        public String getVol()
        Retrieve volume of the dataset
        Returns:
        string value
      • toString

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