I am giving here some of the important Cobol special registers. These are very much useful in the program to get additional information.

  • ADDRESS OF
  • JNIENVPTR
  • LENGTH OF
  • RETURN-CODE
  • SHIFT-IN
  • SHIFT-OUT
  • SORT-CONTROL
  • SORT-CORE-SIZE
  • SORT-FILE-SIZE
  • SORT-MESSAGE
  • SORT-MODE-SIZE
  • SORT-RETURN