Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
TBSKIP—move the row pointer z/OS ISPF Services Guide SC19-3626-00 |
|
The TBSKIP service moves the current row pointer (CRP) of a table forward or backward by a specified number of rows and retrieves the row to which it is pointing unless the NOREAD parameter is specified. All variables in the row, including keys and extension variables, if any, are stored into the corresponding dialog variables. A list of extension variable names can also be retrieved. Command invocation format>>-ISPEXEC--TBSKIP--table-name--+----------------+--------------> '-NUMBER(number)-' >--+--------------------+--+-------------------+----------------> '-SAVENAME(var-name)-' '-ROWID(rowid-name)-' >--+------------+--+--------+--+--------------------+---------->< '-ROW(rowid)-' '-NOREAD-' '-POSITION(crp-name)-' Call invocation format>>-CALL--ISPEXEC--(buf-len,--buffer);-------------------------->< or >>-CALL--ISPLINK--('TBSKIPbb'--,--table-name--,-+-number-+------> '-'b'----' >--,-+-var-name-+--,-+-rowid-name-+--,-+-rowid-+----------------> '-'b'------' '-'b'--------' '-'b'---' >--,-+-'NOREADbb'-+--,-+-crp-name-+-);------------------------->< '-'b'--------' '-'b'------' Parameters
Return codesThese return codes are possible:
ExampleIn the table TELBOOK, move the current row pointer (CRP) to the
next row. After the move, copy values from variables in that row to
variables in the function variable pool having names that are the
same as the names of the variables in the row.
Set
the program variable BUFFER to contain:
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the command:
or alternately
|
Copyright IBM Corporation 1990, 2014
|