Chapter Contents

Previous

Next
Extended Table: _endtable

Extended Table: _endtable



Signals the end of a dynamic table and stops the processing of the GETROW section


Syntax
Details
Example

Syntax

CALL NOTIFY (extended-table-name, '_endtable');


Details

_endtable indicates that the maximum number of rows has been displayed. This method is used in the GETROW section.


Example

This example fetches observations from a data set and signals the end of the table when an error is encountered or the end of the data set is reached. Note that the _endtable method is not called for warnings such as a record locked by another process.

GETROW:
   rc = fetchobs( dsid, _currow_ );
   if ( rc > 0 or rc = -1) then do;
      call notify( 'table', '_endtable_' );
      if ( rc ^= -1 ) then
         _msg_ = 'Error encountered reading 
                  data set';
   end;
return;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.