Previous Topic: Exit PointNext Topic: Exit Calls


Move Request MSL Exit Programs

The Member Selection List (MSL) Exit is used to display a list of members from a specific data set specified in the Libcode file. The exit is called from the MSL processing program, which displays the member returned from the exit.

CA‑PanAPT provides three sample MSL exit programs:

You can use the source forms of these exits, found in CA‑PanAPT APTEXSRC, to create your own exits. You can also create your own exits.

If you have Library Codes that contain a mixture of CA‑Panvalet, CA‑Librarian, and PDS libraries, you can consolidate these sample exits into one program. Since the APCCLIB2/APAMLIB2 copybook is passed to the exit, you can interrogate the field ACCMETH, (access method for the associated data set). This field tells you which access method to use. The access method is added and maintained using CA‑PanAPT Libcode maintenance. Each data set in the Library Code has separate Access Method specifications.

If you do modify the sample exits, select new names for your exits and leave the originals for future comparisons.