A non-transitory computer-readable storage medium storing a code executable by a processor of an image forming apparatus, wherein the code executed by the processor causes the image forming apparatus to execute:
- acquiring index files from an information processing apparatus, each of the acquired index files including a storage destination of analysis data or a storage destination of print data generated by an information processing apparatus, a category indicating whether data corresponding to the included storage destination is the analysis data or the print data, and link information to a next index file;
- and
- processing the analysis data and the print data corresponding to the storage destinations included in the index files, in an order of the index files connected by the link information, in accordance with the category included in the index file.