Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
LMERASE—erase a data set z/OS ISPF Services Guide SC19-3626-00 |
|
The LMERASE service deletes an entire ISPF library or an MVS™ partitioned data set. All members of the data set are deleted and all statistics are erased. The data set name used must be the cataloged name, not an alias data set name. Command invocation format>>-ISPEXEC--LMERASE---------------------------------------------> >--+------------------+--+--------------+--+------------+-------> '-PROJECT(project)-' '-GROUP(group)-' '-TYPE(type)-' >--+------------------+--+------------------+-------------------> | .-NO--. | '-DATASET(dataset)-' '-PURGE(-+-YES-+-)-' >--+----------------+--+--------------------+------------------>< '-VOLUME(volume)-' '-PASSWORD(password)-' Call invocation format>>-CALL--ISPLINK('LMERASEb'--,-+-project-+--,-+-group-+---------> '-'b'-----' '-'b'---' .-'NObbbbbb'-. >--,-+-type-+--,-+-'b'--------+--,-+-dataset-+--,-+-volume-+----> '-'b'--' '-'YESbbbbb'-' '-'b'-----' '-'b'----' >--,-+-password-+-);------------------------------------------->< '-'b'------' or >>-CALL--ISPEXEC--(buf-len,--buffer);-------------------------->< You must specify the data set (ISPF library, or MVS partitioned or sequential data set) as a three-level qualified name, or as a 44-character data set name string. If both are specified, ISPF will use the data set name string. If neither is specified, an error message is displayed. Parameters
Return codesThese return codes are possible:
ExampleThis example invokes LMERASE to delete a data set with a three-level qualified data set name that has DEPT877 as its highest-level qualifier, PRIVATE as its second-level qualifier, and CLIST as its third-level qualifier. Command invocation
Call invocation
Set the program variable BUFFER to contain:
Set the program variable BUFLEN to the length of the variable BUFFER.
Issue the command:
|
Copyright IBM Corporation 1990, 2014
|