Previous Topic: #ENDPAG Status CodesNext Topic: @ERASE—disconnects or erases records


#ENDPAG Example

The following example of the #ENDPAG statement terminates a map paging session that began with the #STRTPAG statement, clears the BACKPAG=YES and FLAG=UPDATE map paging options, and specifies the address of the #ENDPAG parameter list in register 3:

#STRTPAG MRB=(R4),BACKPAG=YES,FLAG=UPDATE
.
.  (*** MAP PAGING SESSION ***)
.
#ENDPAG PLIST=(R3)