z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SAVE command

z/OS ISPF User's Guide Vol II
SC19-3628-00

The SAVE primary command writes the directory list to the ISPF list data set or to a sequential data set. ISPF writes the directory list in its current sort order. Use this format:
Read syntax diagramSkip visual syntax diagram
>>-SAVE--+---------+-------------------------------------------><
         '-list-id-'   

where list-id is an optional user-specified qualifier of the data set to which the directory list will be written. ISPF names the data set prefix.userid.list-id.DIRLIST where:

prefix
Your data set prefix, as specified in your TSO user profile. If you have no prefix set, or if your prefix is the same as your user ID, the prefix is omitted and the data set name will be: userid.list-id.DIRLIST
userid
Your TSO user ID.

If the data set does not exist it is created. If the data set already exists and has compatible attributes it is overwritten. If you omit the list-id operand, the list is written to the ISPF list data set.

This command would tell ISPF to write the list to a sequential data set named either prefix.userid.MY.DIRLIST or userid.MY.DIRLIST:

SAVE MY

If the sequential data set already exists, ISPF overwrites it; if not, ISPF creates it.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014