Direct Known Subclasses:
ActiveDataset, AggregateGroup, BackupDataset, BaseConfiguration, CacheNames, DasdCapacityPlanning, DataClass, Drive, Library, ManagementClass, MigratedDataset, SmsAccountingInformation, SmsVolume, StorageClass, StorageGroup, TapeCapacityPlanning, Volume, VsamAssociation

public class DcollectRecord extends VRecord
Common information for all DCOLLECT records
  • Constructor Details

    • DcollectRecord

      public DcollectRecord(byte[] data)
      Constructs an DcollectRecord from the specified byte array.
      Parameters:
      data - a byte array containing the DCOLLECT record data
    • DcollectRecord

      public DcollectRecord(VRecord record)
      Constructs a new DcollectRecord from an existing variable length record. The 2 records share the same data byte array.
      Parameters:
      record - an existing VRecord
  • Method Details

    • from

      public static DcollectRecord from(VRecord record)
      Create a DCOLLECT record from a VRecord. This will return a specialized record i.e. ActiveDataset, SmsVolume if the dcurctyp() is recognized.
      Parameters:
      record - the input VRecord containing the DCOLLECT record
      Returns:
      a DcollectRecord of the specialized type according to the dcurctyp() value.
    • dateTime

      public LocalDateTime dateTime()
      Record date time
      Returns:
      LocalDateTime the date and time of this DCOLLECT record
    • dcutmstp

      public LocalDateTime dcutmstp()
      DCUTMSTP value (same as dateTime()).
      Returns:
      LocalDateTime DCUTMSTP value
    • dcollectType

      public String dcollectType()
      A friendly name for the DCOLLECT record type
      Returns:
      String the DCOLLECT Record type
    • dculeng

      public int dculeng()
      DCULENG value.
      Returns:
      int DCULENG value
    • dcurctyp

      public static DcollectType dcurctyp(byte[] data)
      DCURCTYP value.
      Returns:
      DcollectType DCURCTYP value
    • dcurctyp

      public DcollectType dcurctyp()
      DCURCTYP value.
      Returns:
      DcollectType DCURCTYP value
    • dcurctypRawValue

      public String dcurctypRawValue()
      DCURCTYP raw value.
      Returns:
      String DCURCTYP value
    • dcuvers

      public int dcuvers()
      DCUVERS value.
      Returns:
      int DCUVERS value
    • dcusysid

      public String dcusysid()
      DCUSYSID value.
      Returns:
      String DCUSYSID value
    • dcutime

      public LocalTime dcutime()
      DCUTIME as a LocalTime.
      Returns:
      LocalTime DCUTIME Time
      See Also:
    • dcutimeRawValue

      public long dcutimeRawValue()
      DCUTIME raw value
      Returns:
      long DCUTIME value
    • dcudate

      public LocalDate dcudate()
      DCUDATE as a LocalDate.
      Returns:
      LocalDate DCUDATE Date
      See Also:
    • dcudateRawValue

      public int dcudateRawValue()
      DCUDATE raw value.
      Returns:
      int DCUDATE value