Writing CSL Routines

You can write your own assembler routines to reside in a callable services library.

Your own CSL routines can work just like the ones supplied with z/VM®:

  1. An application program calls the routine and passes it some parameter information
  2. The CSL routine does some processing using these parameters
  3. The CSL routine returns control to the calling application program, passing information back in parameters.

This section describes how you can use some special macros when writing your own CSL routines, lists rules you must follow when writing your own CSL routines, and explains how to make template files that contain parameter information.