z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LMERASE—erase a data set

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--LMERASE--------------------------------------------->

>--+-PROJECT(project)--GROUP(group)--TYPE(type)-+--------------->
   '-DATASET(dataset)---------------------------'   

   .-PURGE(NO)--.                                               
>--+------------+--+----------------+--+--------------------+--><
   '-PURGE(YES)-'  '-VOLUME(volume)-'  '-PASSWORD(password)-'   

Call invocation format

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK('LMERASEb',-project--,group--,type------------->

                    .-'NObbbbbb'-.                    
>--,-+---------+--,-+------------+-);--,-+--------+------------->
     '-dataset-'    '-'YESbbbbb'-'       '-volume-'   

>--,-+----------+-);-------------------------------------------><
     '-password-'      

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPEXEC--(buf-len,--buffer);--------------------------><

Return codes

 0
Normal completion.
 8
One of these:
  • Specified data set is not cataloged.
  • Erase data set failed.
  • Data set has not expired yet.
  • Data set name is an alias.
  • No data set specified as input
  • PROJECT specified, but GROUP or TYPE not specified.
12
Expiration data not expired and PURGE (NO) specified.
20
Severe error; unable to continue.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014