com.ibm.pdp.maf.rpp.pac.program

Enum ProgramGeneratedDescriptionTypeValues

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      _1 
      _2 
      _3 
      _4

      Records with occurs (used with level 3) Records which incorporate the number of occurrences indicated in the Table size field of the Segment Definition tab.

      NONE 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static ProgramGeneratedDescriptionTypeValues valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ProgramGeneratedDescriptionTypeValues[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • _1

        public static final ProgramGeneratedDescriptionTypeValues _1

        Records without initial values Records without initial values or occurs. These records contain the Segment common part, followed by the different specific parts.

        If the Data Structure description is included in the COBOL FILE SECTION, the COBOL record level field must be set to 2: COBOL 01 level for DS area and segments at 02 level.

        With this value, the specific Segments are described without redefines, at the COBOL level 02. Several Segment descriptions are grouped under the same I/O area.

      • _2

        public static final ProgramGeneratedDescriptionTypeValues _2

        Records with initial values Records with the specific initial values indicated in the Segment -CE Lines tab. These values can also default to blank or zero depending on the format. Initial values are also generated for the multiple occurrence fields if the Generated language of the Library is set to D: COBOL II, 85, LE.

      • _3

        public static final ProgramGeneratedDescriptionTypeValues _3

        Records with occurs (used with level 2) Records which incorporate the number of occurrences indicated in the Table size field of the Segment Definition tab.

        No VALUE clause is generated.

        If the Data Structure description is included in the COBOL FILE SECTION, the COBOL record level field must be set to 2: COBOL 01 level for DS area and segments at 02 level.

        This type of description cannot be used if the common part Segment of this Data Structure is assigned a value in the Table size field of the Segment Definition tab. In that case, set the Organization to W: File description in Working and the Usage to T: Table stored in memory.

      • _4

        public static final ProgramGeneratedDescriptionTypeValues _4

        Records with occurs (used with level 3) Records which incorporate the number of occurrences indicated in the Table size field of the Segment Definition tab. The associated 'Level' field must be set to 3.

        The associated COBOL record level must be set to 3: COBOL level varying with records description type

        Comment specific to the OnLine Systems Development function: The index is not generated if the Generated description type set to 4: Records with occurs (used with level 3), and the COBOL record level is set to 3: COBOL level varying with records description type,

        A COBOL level 02 is used to access the table made up of occurs of the same record (ddssT).

        A COBOL level 01 is used to group the whole Data Structure (common or specific parts, whether occurred or not). A group level field that incorporates all instances is generated.

        This type of description cannot be used if the common part Segment of this Data Structure is assigned a value in the Table size field of the Segment Definition tab. In that case, set the Organization to W: File description in Working, and the Usage to T: Table stored in memory

    • Method Detail

      • valueOf

        public static ProgramGeneratedDescriptionTypeValues valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • values

        public static ProgramGeneratedDescriptionTypeValues[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ProgramGeneratedDescriptionTypeValues c : ProgramGeneratedDescriptionTypeValues.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared