Further Reading — Chapter 15: Sort and Merge

IBM Documentation

  • Enterprise COBOL for z/OS: Language Reference — Chapter on SORT and MERGE statements. The definitive reference for sort syntax, restrictions, and special registers. Available on IBM Documentation portal.

  • Enterprise COBOL for z/OS: Programming Guide — Sections on sorting and merging files, FASTSRT compiler option, and sort performance considerations.

  • DFSORT Application Programming Guide (SC26-7523) — Comprehensive guide to IBM's sort utility, including control statements, performance tuning, and advanced features like ICETOOL.

  • DFSORT: Getting Started (SC26-7527) — A gentler introduction to DFSORT for those new to mainframe sort utilities.

Books

  • Stern, N., Stern, R., & Ley, J. COBOL for the 21st Century. Chapters on sort/merge operations provide clear explanations with worked examples.

  • Grauer, R. & Villar, C. Mainframe COBOL: A Complete Course. Includes detailed coverage of sort work file declarations and INPUT/OUTPUT PROCEDURE patterns.

  • Sayles, J. The DFSORT Tuning Guide. Essential reading for anyone responsible for sort performance on z/OS systems.

Online Resources

  • IBM Z Xplore (https://www.ibm.com/z/xplore) — Free hands-on mainframe learning platform where you can practice COBOL SORT programs on a real z/OS system.

  • GnuCOBOL FAQ: Sort/Merge — Documentation on how GnuCOBOL implements the SORT and MERGE verbs, including platform-specific considerations.

  • IBM Redbooks: DFSORT Tricks — Collection of practical DFSORT examples and patterns commonly used in production environments.

  • Chapter 11: Sequential File Processing — Understanding sequential file I/O is prerequisite for sort operations.
  • Chapter 14: Advanced File Techniques — Multi-file processing patterns that often involve sort steps.
  • Chapter 16: Report Writer — Report Writer's control break handling provides a declarative alternative to manual control breaks in OUTPUT PROCEDUREs.
  • Chapter 38: Batch Processing Patterns — Sort operations in the context of complete batch processing architectures.
  • Appendix C: JCL Quick Reference — JCL DD statements for sort work files and standalone DFSORT steps.