z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Subprocedures

z/OS TSO/E CLISTs
SA32-0978-00

A subprocedure is a part of a CLIST that you can call from one or more places in a CLIST. With subprocedures, you can organize a CLIST into logical units, making the CLIST easier to write and maintain. You can also keep common code in a single location and call it from other parts of the CLIST, thus avoiding repetitive code.

Subprocedures offer a variety of ways to communicate information within a CLIST. You can:
  • Pass parameters to and from subprocedures, for reference or modification
  • Share variables globally among subprocedures
  • Isolate variables in a subprocedure from the rest of the CLIST

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014