Interface BaseDdStatementTree

All Superinterfaces:
HasTextRange, JclTree, StatementTree
All Known Subinterfaces:
DdInStreamStatementTree, DdStatementTree, ImplicitDdInStreamStatementTree

@Beta public interface BaseDdStatementTree extends StatementTree
Base interface for all JCL DD statements, including both in-stream and not in-stream data.
  • Method Details

    • concatenatedDdStatements

      List<DdStatementTree> concatenatedDdStatements()
      Returns the list of concatenated DD statements.
      As an example, for a DD statement like:
       //SYSUT1 DD DSN=A.B.C,DISP=SHR
       //       DD DSN=D.E.F,DISP=SHR
       //       DD DSN=G.H.I,DISP=SHR
       
      this method will return a list of 2 DD statements, one for DSN=D.E.F and one for DSN=G.H.I.

      See IBM Reference - Concatenating data sets.

      Returns:
      list of DD statements concatenated to this one.