Example 1

For the table TELBOOK:

Move table TELBOOK's CRP to the row that fulfills the search argument as specified in a preceding TBSARG operation. For an example of TBSARG, see the example in the TBSARG description. Copy values from variables in that row to function pool variables whose names match those of the table variables.
ISPEXEC TBSCAN TELBOOK
Set the program variable BUFFER to contain:
TBSCAN TELBOOK
Set program variable BUFLEN to the length of the variable BUFFER. Issue the command:
CALL ISPEXEC (BUFLEN, BUFFER);

or alternately

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