TSO-ISPF JCL COBOL VSAM DB2 CICS Tools Articles Job Portal Forum Quiz Interview Q&A

CICS RESETBR Command


The RESETBR command is used to reset our starting point in the middle of a browse. basically, It establishes a new browsing point.

To restart browsing from a different file location. This is similar to an ENDBR followed by a STARTBR, but is more efficient because the VSAM resources will be re-allocated rather than de-allocation and fresh allocation.

Syntax:

Below is the syntax for RESETBR command.

EXEC CICS RESETBR
   FILE('file-name')
   RIDFLD(data-area)
   GTEQ
END-EXEC.

Let us see the parameters used in the RESETBR command.

  • FILE(file-name)

    Specifies the name of the file to be accessed.

  • RIDFLD(data-area)

    Specifies the record identification field.

    It has the name of the data area containing the key of the record which we want to read.



If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!

Are you looking for Job Change? Job Portal