Previous Topic: View a VSAM RecordNext Topic: Example


Browse a VSAM File

To browse a VSAM file, specify the BROWSE operation on the FILE definition.

  1. Enter the following required information for all VSAM files (or press PF4):
    FUNC= BEGB
    

    Also specify a key in the RCID field to begin to browse from a specified record.

  2. Enter the following optional information for a KSDS file:
    SRCHTYP= FKGE/FKEQ/GKGE/GKEQ
    
  3. Press Enter. FILE displays the first retrieved record. The FUNC field is preset to NEXT.
  4. Terminate the browse by pressing PF4, specifying FUNC=ENDB, or specifying one of these functions: GET, GETU, ADD, or ADDU.