(ii) Set order to This command is used to activate any tag In the CDX file. Syn :- Set order to (iii) Close index This command is used to close the index file but the corresponding…