Batch Browse (IBB)

Purpose
Runs a REXX procedure that can display or print segments from a data base. In addition to using any other valid REXX in this procedure, IBB defines some new REXX functions that you can use to retrieve or print segments, or to create a view.
Usage notes
For general tips for using IBB, see General tips for using the REXX functions defined by IEB and IBB. For note about the use of the filerc variable, see Use of the filerc variable.

The Batch Browse JCL generated by FM/IMS has the following flows:

Figure 1. Flows for Batch Browse (IBB) step

This diagram shows the inputs to and outputs from the Batch Browse (IBB) function. The inputs are FMN1JIN, FMNIMSIN, REXX procedure, FMNEXEC, and IMS database data sets. The output is SYSPRINT.
FMN1JIN
Points to the FM/IMS skeleton library. This DD statement is only used when you are browsing HALDB databases.
FMNIMSIN
Contains the control statements for the batch browse. These control statements are discussed below.
IMS database data sets
In DLI mode, FM/IMS includes DDs for each of the IMS database data sets associated with the IMS database being maintained. If the database has logical relationships, the data sets for the logically related databases need to be included.
SYSPRINT
This contains the FM/IMS messages that were issued by FM/IMS while running the IEB REXX procedure.
REXX Procedure
A REXX exec which is to be run to view the IMS database in batch. This exec consists of standard REXX statements combined with FM/IMS IEB calls to allow you to read the IMS segments.

In FMNIMSIN, if PROC=* is specified, then the REXX procedure is specified instream after the PROC=* parameter.

In FMNIMSIN, if PROC=<member> is specified, then the REXX procedure <member> found in the FMNEXEC library is run.

FMNEXEC
This contains the member that is run if PROC=<member> is specified in the FMNIMSIN parameters.