Before coding your first CLIST, you must create a CLIST data set.
There are two ways to create and edit a CLIST data set:
- Using options 3 (UTILITIES) and 2 (EDIT) of ISPF/PDF:
- Create a data set using the allocate panel in ISPF (typically
option 3.2 on the primary menu).
- To simplify execution, specify CLIST as the data set type.
- To create a data set with the same attributes as another, such
as a system CLIST library, use option 3.2 to view the attributes of
the existing data set and then allocate the new data set.
- Code your CLIST in the full-screen environment using the ISPF/PDF
editor (typically option 2).
- Modify the CLIST by making corrections directly to the data on
the screen.
For more information about creating and editing data sets
under ISPF/PDF, see z/OS TSO/E Primer.
- Using the TSO/E EDIT command and its subcommands
(this method includes option 6 of ISPF/PDF.):
- Include the CLIST keyword on the EDIT command.
- Enter and save your CLIST statements, TSO/E commands, and TSO/E
subcommands.
- Use subcommands of EDIT to modify the CLIST.
CLISTs
created with the EDIT command cannot contain characters of the double-byte
character set (DBCS).
More information about creating and editing
data sets under TSO/E can be found in z/OS TSO/E Command Reference.