Attachments

There are five different attachment facilities that can be used depending on the environment where the program will execute. Only one attachment can be active within a program at any given time. The attachments are

  • TSO

  • CICS

  • IMS

  • CAF

  • RRSAF

Each program runs in an address space called the allied address space. The DB2 attachment facility modules are called by the program, execute within the allied address space, and establish communication with the DB2 address spaces. When initialized the attachment modules make the link to DB2 and agent control blocks are created in the DSNMSTR address space to control the program's DB2 processing.

When a program issues a SQL statement, the attachment modules are given control. The attachment programs prepare ...

Get DB2® Universal Database™ for OS/390™ v7.1 Application Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.