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


TBVCLEAR—clear table variables

z/OS ISPF Services Guide
SC19-3626-00

The TBVCLEAR service sets dialog variables to nulls.

All dialog variables that correspond to columns in the table, specified when the table was created, are cleared.

The contents of the table and the position of the current row pointer (CRP) are not changed by this service.

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--TBVCLEAR--table-name-------------------------------><

Call invocation format

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

or

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('TBVCLEAR'--,--table-name);-----------------><

Parameters

table-name
Specifies the name of the table to be used.
buf-len
Specifies a fullword fixed binary integer containing the length of "buffer".
buffer
Specifies a buffer containing the name of the service and its parameters in the same form as they would appear in an ISPEXEC call for a command procedure.

Return codes

These return codes are possible:
 0
Normal completion.
12
Table is not open.
20
Severe error.

Example

Clear dialog variables associated with the table TELBOOK.
ISPEXEC TBVCLEAR TELBOOK
Set the program variable BUFFER to contain:
TBVCLEAR TELBOOK
Set program variable BUFLEN to the length of the variable BUFFER. Issue the command:
CALL ISPEXEC (BUFLEN, BUFFER);

or alternately

CALL ISPLINK ('TBVCLEAR','TELBOOK ');

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014