Previous Topic Next topic Print topic


To Configure a CICS Region's Program Location and Search Order

User programs used by a CICS region may reside in a file system folder, the region database, the cross-region database, custom database or data store database. This procedure demonstrates how to define each of these location types and how their run-time search order is specified for programs using the Enterprise Server for .NET Administration UI:
Note: With the exception of selecting Application Map Paths instead of Application Program Paths in the steps below, the procedure for configuring a CICS region's BMS map location and search order is exactly the same as that described for programs.
  1. Open the startup file of the CICS region you are configuring with the Region Startup File editor. See To Edit a CICS Region Configuration.
  2. In the Results pane expand the Region node and select the Application Program Paths node. See 1 in the diagram below.
  3. To add a file system program folder location, right-click on the Application Program Paths node and choose Add > Folder Location... from the context menu. See 2 in the diagram below.

    The Add Program Path dialog is displayed.

    Enter the name of the folder containing the user programs to be used by the region in the Folder entry field. Alternatively, use the Browse button to select a folder from a standard file dialog. Note that the folder specified should be on a network drive to ensure that it is available to any machine in a scaled-out system. Click on OK. See 3 in the diagram below.

    The dialog is dismissed and the folder specified appears in the program folder list.

  4. To add the region database as a program location, right-click on the Application Program Paths node and choose Add > Region Database Location... from the context menu. See 4 in the diagram below.

    The region database appears in the program folders list. Note that the region database can only be added once to the program folders list, so will not be available as a location for a subsequent Add operation.

  5. To add the cross-region database as a program location, right-click on the Application Program Paths node and choose Add > Cross-region Database Location... from the context menu. See 5 in the diagram below.

    The cross-region database appears in the program folders list. Note that the cross-region database can only be added once to the program folders list, so will not be available as a location for a subsequent Add operation.

  6. To add a custom database (i.e. a user specified database) as a program location, right-click on the Application Program Paths node and choose Add > Custom Database Location... from the context menu. See 6 in the diagram below.

    The Add Program Database Location dialog is displayed.

    Enter the name of the machine hosting the database in the Server entry field, the name of the database server instance in the Instance entry field, the name of the database in the Database entry field and the name of the table where the programs will reside in the Table entry field. Click on OK. See 7 in the diagram below.

    The dialog is dismissed and the custom database location specified appears in the program folder list.

  7. To add a data store database folder as a program location, right-click on the Application Program Paths node and choose Add > Data Store Folder Location... from the context menu. See 8 in the diagram below.

    The Data Store Browse dialog is displayed.

    Enter the name of the database server instance in the Server instance entry field, the name of the data store in the Data store name entry field and the name of the data store folder where the programs will reside in the Folder entry field. Click on OK. See 9 in the diagram below.

    The dialog is dismissed and the custom database location specified appears in the program folder list.

  8. The order in which the program locations are listed indicates the order in which they will be searched at run time (i.e. the location at the top of the list will be searched first, the second in the list searched second and so on). To change the search order, select a location in the list, see 10 in the diagram below, and drag and drop it to the required position in the list. See 11 in the diagram below.

    The selected item in the previous diagram is moved to the top of the list and will now be the first location to be searched at run time. See 12 in the diagram below.

  9. Choose File > Save, or click the Save icon in the toolbar to save the file. See 13 in the diagram below.

You must cold-start the region for the changes to take effect.
Previous Topic Next topic Print topic