Skip to content

VsamAttributes

Source code in docs_src/capo_m2/types/vsam_attributes.py
class VsamAttributes(TypedDict, closed=True):
    format: "str"
    """<p>The record format of the data set.</p>"""
    encoding: NotRequired["str"]
    """<p>The character set used by the data set. Can be ASCII, EBCDIC, or unknown.</p>"""
    compressed: "capo_m2.types.boolean.Boolean"
    """<p>Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically &gt; 100 Mb), consider setting this flag to True.</p>"""
    primary_key: NotRequired["capo_m2.types.primary_key.PrimaryKey"]
    """<p>The primary key of the data set.</p>"""
    alternate_keys: NotRequired["capo_m2.types.alternate_key_list.AlternateKeyList"]
    """<p>The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.</p>"""

alternate_keys instance-attribute

alternate_keys: NotRequired[AlternateKeyList]

The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

compressed instance-attribute

compressed: Boolean

Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

encoding instance-attribute

encoding: NotRequired[str]

The character set used by the data set. Can be ASCII, EBCDIC, or unknown.

format instance-attribute

format: str

The record format of the data set.

primary_key instance-attribute

primary_key: NotRequired[PrimaryKey]

The primary key of the data set.