example1.cp demonstrates how to use regular, non-scrollable cursors in an interactive query program. example4.pc and example5.pc demonstrates how to use scrollable cursors. All three of these programs:
Display a list of book types, from which the user selects one
Display all titles in the selected book type and prompt for a title ID
Display detailed information about the selected title and continue prompting for title IDs
Exit when Return is pressed at a prompt