Currently this is an enhancement but there may be other rules that need to check the keyseq. The output would likely go in Dataset Metadata Check against Define XML ruletype. This enhancement would need to be within the define_xml_reader_factory.
it would:
Parse the Define-XML file
For each ItemGroupDef (representing a dataset): Find the ItemRef elements with KeySequence attributes.
Match these with their corresponding variable names.
Return the results in a structured format.
the dataset builder would then add them to the available metadata for rule logic.
Currently this is an enhancement but there may be other rules that need to check the keyseq. The output would likely go in Dataset Metadata Check against Define XML ruletype. This enhancement would need to be within the define_xml_reader_factory.
it would: Parse the Define-XML file For each ItemGroupDef (representing a dataset): Find the ItemRef elements with KeySequence attributes. Match these with their corresponding variable names. Return the results in a structured format. the dataset builder would then add them to the available metadata for rule logic.