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


TBGET—retrieve a row from a table

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--TBGET--table-name--+--------------------+----------->
                               '-SAVENAME(var-name)-'   

>--+-------------------+--+--------+--+--------------------+---><
   '-ROWID(rowid-name)-'  '-NOREAD-'  '-POSITION(crp-name)-'   

Call invocation format

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

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('TBGETbbb',--table-name--,-+----------+------>
                                              '-var-name-'   

>--,-+------------+--,-+------------+--,-+----------+-);-------><
     '-rowid-name-'    '-'NOREADbb'-'    '-crp-name-'      

Return codes

 0
Normal completion.
 8
Keyed tables: The row specified by the value in the key variables does not exist; the CRP is set to TOP (zero). Non-keyed tables: the CRP was at TOP and remains at TOP.
12
Table is not open.
16
Variable value has been truncated, or insufficient space was provided to return all extension variable names.
20
Severe error.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014