z/OS ISPF Services Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LMDFREE—free a data set list ID

z/OS ISPF Services Guide
SC19-3626-00

The data set list free service (LMDFREE) removes a data set list ID (dslist ID) generated by the data list initialize service (LMDINIT).

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--LMDFREE--LISTID(list-id)---------------------------><

Call invocation format

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('LMDFREEb',--list-id);----------------------><

or

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

Parameters

list-id
The LMDFREE service removes this dslist ID from the list of dslist IDs. The LMDLIST and LMDFREE service cannot use the dslist ID for the remainder of the TSO session.
buf-len
A fullword fixed binary integer containing the length of the buffer parameter.
buffer
A buffer containing the name of the service and its parameters in the same form as they would appear in an ISPEXEC invocation for a command invocation.

Return codes

 0
Normal completion.
 8
Free dslist ID failed. The error condition is described in System variables used to format error messages.
10
No data set level or volume is associated with given dslist ID. LMDINIT has not been completed.
20
Severe error; unable to continue.

Example

In this example the LMDFREE service frees a dslist ID stored in function pool variable ID.

Command invocation

ISPEXEC    LMDFREE LISTID(&ID)

Call invocation

CALL ISPLINK   ('LMDFREE ', ID);
OR
Set the program variable BUFFER to contain:
BUFFER = 'LMDFREE LISTID(&ID)';
Set the program variable BUFLEN to the length of the variable BUFFER. Issue the command:
CALL ISPEXEC (BUFLEN, BUFFER);

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014