Direct Known Subclasses:
Smf98s1024Record, Smf98s1025Record, Smf98s1Record

public class Smf98Record extends SmfRecord
Mapping for SMF type 98 record.

For subtypes 1, 1024 and 1025 the specialized subclasses are recommended.

Obtain Smf98Records by reading SmfRecords and using

Smf98Record.from(SmfRecord)

to create the specialized record after determining the record type.

Use the methods provided to read the specific sections e.g.

 
 try (SmfRecordReader reader = 
          SmfRecordReader.fromDD("INPUT")
              .include(98))             
 {
     for (SmfRecord record : reader)           
     {
         Smf98Record r98 = Smf98Record.from(record);
         ContextSummarySection cts = r98.contextSummarySection();
         ...
     }
 }
 
 
  • Field Details

  • Method Details

    • from

      public static Smf98Record from(SmfRecord record)
      Constructs a new Smf98Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
    • from

      public static Smf98Record from(byte[] data)
      Constructs an Smf98Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • selfDefiningSection

      public SelfDefiningSection selfDefiningSection()
      Get the Self Defining Section for this record
      Returns:
      SMF type 98 SelfDefiningSection
    • identificationSection

      public IdentificationSection identificationSection()
      Get the Identification Section from the record
      Returns:
      the IdentificationSection
    • contextSummarySection

      public ContextSummarySection contextSummarySection()
      Get the Context Summary Section from the record
      Returns:
      the ContextSummarySection
    • wicData

      public List<WicData> wicData()
      Get a List containing Generic WIC Data Sections from the record. Returns an empty list for subtype 1 because subtype 1 does not use this WIC data format
      Returns:
      a list of WicData
    • aggregateBuckets1

      public List<AggregateBucket> aggregateBuckets1()
      Get a List containing Aggregate Bucket Sections from the first Aggregate Bucket Section
      Returns:
      a list of AggregateBucket
    • aggregateBuckets2

      public List<AggregateBucket> aggregateBuckets2()
      Get a List containing Aggregate Bucket Sections from the second Aggregate Bucket Section
      Returns:
      a list of AggregateBucket
    • jobIndex

      public List<JobIndex> jobIndex()
      Get a List containing Job Index Sections
      Returns:
      a list of JobIndex
    • jobList

      public List<JobList> jobList()
      Get a List containing Job List Sections
      Returns:
      a list of JobList
    • smf98len

      public int smf98len()
      SMF98LEN value.
      Returns:
      int SMF98LEN value
    • smf98seg

      public int smf98seg()
      SMF98SEG value.
      Returns:
      int SMF98SEG value
    • smf98flg

      public int smf98flg()
      SMF98FLG value.
      Returns:
      int SMF98FLG value
    • smf98ssf

      public boolean smf98ssf()
      Return true if SMF98SSF bit in smf98flg() is set.
      Returns:
      boolean SMF98SSF bit is set in smf98flg()

      SMF98SSF = 0x80

    • smf98sbt

      public boolean smf98sbt()
      Return true if SMF98SBT bit in smf98flg() is set.
      Returns:
      boolean SMF98SBT bit is set in smf98flg()

      SMF98SBT = 0x40

    • smf98rty

      public int smf98rty()
      SMF98RTY value.
      Returns:
      int SMF98RTY value
    • smf98tme

      public LocalTime smf98tme()
      SMF98TME as a LocalTime.
      Returns:
      LocalTime SMF98TME Time
      See Also:
    • smf98tmeRawValue

      public long smf98tmeRawValue()
      SMF98TME raw value
      Returns:
      long SMF98TME value
    • smf98dte

      public LocalDate smf98dte()
      SMF98DTE as a LocalDate.
      Returns:
      LocalDate SMF98DTE Date
      See Also:
    • smf98dteRawValue

      public int smf98dteRawValue()
      SMF98DTE raw value.
      Returns:
      int SMF98DTE value
    • smf98sid

      public String smf98sid()
      SMF98SID value.
      Returns:
      String SMF98SID value
    • smf98ssi

      public String smf98ssi()
      SMF98SSI value.
      Returns:
      String SMF98SSI value
    • smf98sty

      public int smf98sty()
      SMF98STY value.
      Returns:
      int SMF98STY value
    • smf98ind

      public int smf98ind()
      SMF98IND value.
      Returns:
      int SMF98IND value
    • smf98more

      public boolean smf98more()
      Return true if SMF98More bit in smf98ind() is set.
      Returns:
      boolean SMF98More bit is set in smf98ind()

      SMF98More = 0x80

    • smf98cont

      public boolean smf98cont()
      Return true if SMF98CONT bit in smf98ind() is set.
      Returns:
      boolean SMF98CONT bit is set in smf98ind()

      SMF98CONT = 0x40

    • smf98noStorage

      public boolean smf98noStorage()
      Return true if SMF98NoStorage bit in smf98ind() is set.
      Returns:
      boolean SMF98NoStorage bit is set in smf98ind()

      SMF98NoStorage = 0x20

    • smf98partSeqNo

      public int smf98partSeqNo()
      SMF98PartSeqNo value.
      Returns:
      int SMF98PartSeqNo value
    • smf98sdsLen

      public int smf98sdsLen()
      SMF98SDSLen value.
      Returns:
      int SMF98SDSLen value
    • smf98sdsTripletsNum

      public int smf98sdsTripletsNum()
      SMF98SDSTripletsNum value.
      Returns:
      int SMF98SDSTripletsNum value