Data sharing at the database level with read access

An example of data sharing at the database level with read access, including IMS and PSB definition statements, is provided.

Figure 1 shows a possible configuration for data sharing.
Figure 1. Data sharing at the database level with read access
System A is MPP BMP IPF with read access; System B and C are both DL/I batch with read-only access. All three systems share the database SHRDB.

System A

IMS system definition statements include:

  • IMSCTRL IMSID=IMSA
  • DATABASE DBD=SHRDB,ACCESS=RD

PSB definition statements include:

  • PCB TYPE=DB,DBDNAME=SHRDB,PROCOPT=G

System B

IMS system definition statements include:

  • IMSCTRL IMSID=IMSB,SYSTEM=(VS2,BATCH)

PSB definition statements include:

  • PCB TYPE=DB,DBDNAME=SHRDB,PROCOPT=GO

System C

IMS system definition statements include:

  • IMSCTRL IMSID=IMSC,SYSTEM=(VS2,BATCH)

PSB definition statements include:

  • PCB TYPE=DB,DBDNAME=SHRDB,PROCOPT=G