Menu

Documentation and code disagree an the indicator to use for "Alternative Key with Duplicates"

Anonymous
2023-11-17
2023-11-18
  • Anonymous

    Anonymous - 2023-11-17

    Hi,

    GCSORT help (gcsort -help) states that the keytype indicator to use for "Alternative Key with Duplicates" is "D", however checkingscanner.l, we can find :

                /*  Key Tye for indexed file P=Primary, A= ALternative, AD = Alternative with duplicates, C = Continue */
    KEYTYPE         P|A|AD|C
    

    Which one is right ?

     
  • David Declerck

    David Declerck - 2023-11-17

    Woops, I forgot to login and posted in the wrong section ; this belongs to "Contributions"...

     
    • Sauro Menna

      Sauro Menna - 2023-11-17

      Hi David,
      AD is the correct option for "Alternative Key with Duplicates", D is a typo. I will edit the gcsort help.
      Thank you.
      Sauro

       
      • David Declerck

        David Declerck - 2023-11-18

        Great, thanks ;)

         

Anonymous
Anonymous

Add attachments
Cancel