Accessing File-AID for DB2 From Code Debug TSO (COBOL User Guide)
This section describes how to access and exit File-AID for Db2 from Code Debug TSO. File-AID for Db2 is BMC’s interactive Db2 database management tool that lets you create, view, change, and customize the Db2 table data associated with your program without coding SQL. File-AID for Db2 also provides facilities for interactive SQL development and analysis and a host of utilities. See the File-AID for DB2 Reference for information about using File-AID for Db2.
Code Debug TSO’s Db2 capabilities are greatly enhanced when you have Code Debug Db2 Extension and File-AID for Db2 installed at your site. This versatile union lets you debug, prototype SQL calls, and analyze COBOL Db2 programs in Code Debug TSO. At the same time, you are also permitted to dynamically access File-AID for Db2, BMC’s interactive Db2 database management tool that lets you create, view, change, and customize the Db2 table data associated with the program without coding SQL. File-AID for Db2 also provides facilities for interactive SQL development and analysis and a host of utilities. See Using Code Debug for Db2 Extension for information about how to browse and edit Db2 table data while testing your program, analyze SQL statement execution with the FADB2 EXPLAIN command, and prototype SQL logic by inserting SQL statements.
The following accesses File-AID for Db2 from Code Debug TSO:
- Select the FADB2 menu item on the Code Debug TSO Primary Menu.
- Enter the FADB2 command on any Code Debug TSO Source display screen.
The File-AID for Db2 Primary Option Menu is displayed. The menu lists all File-AID for Db2 facilities.
You can bypass the File-AID for Db2 Primary Option Menu by entering the FADB2 command with the keyword or 1-character number or letter that directly accesses a specific File-AID for Db2 function. For example, to directly access the File-AID for Db2 Browse function from Code Debug TSO, enter:
The keywords and 1-character numbers or letters that access File-AID for Db2 functions are listed on the File-AID for Db2 Primary Menu.
Exiting File-AID for Db2
When you finish using File-AID for Db2 functions, you can either:
- Enter =X to return to the Code Debug TSO Source display screen displaying your source program.
- Enter END, which will take you to the File-AID for Db2 Primary Option Menu from which you can select another File-AID for Db2 function.