The example4.c sample program demonstrates row buffering. It sends a query to Adaptive Server, buffers the returned rows, and allows you to examine them interactively.
Access to Adaptive Server is required.