[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here

HP COBOL
DBMS Database Programming Manual


Previous Contents Index

Chapter 6
6 DML Programming---Tips and Techniques
     6.1     The Ready Modes
         6.1.1         Record Locking
     6.2     COMMIT and ROLLBACK
     6.3     The Owner and Member Test Condition
     6.4     Using IF EMPTY Instead of IF OWNER
     6.5     Modifying Members of Sorted Sets
     6.6     CONNECT and DISCONNECT
     6.7     RECONNECT
     6.8     ERASE ALL
     6.9     ERASE Record-Name
     6.10     Freeing Currency Indicators
         6.10.1         Establishing a Known Currency Condition
         6.10.2         Releasing Record Locks
     6.11     FIND and FETCH Statements
     6.12     FIND ALL Option
     6.13     FIND NEXT and FETCH NEXT Loops
     6.14     Qualifying FIND and FETCH
Chapter 7
7 Debugging and Testing HP COBOL DML Programs
     7.1     DBQ Commands and DML Statements
     7.2     Sample Debugging and Testing Session
     7.3     Program Map Listings on Alpha or VAX
         7.3.1         Listings on Alpha and I64
         7.3.2         Listings on VAX
Chapter 8
8 Database Programming Examples
     8.1     Populating a Database
     8.2     Backing Up a Database
     8.3     Accessing and Displaying Database Information
     8.4     PARTBOM Sample Run
     8.5     Creating Relationships Between Records of the Same Type
     8.6     STOOL Program Parts Breakdown Report---Sample Run
     8.7     Creating New Record Relationships
         8.7.1         PERSONNEL-UPDATE Sample Run---Listing Before Promotion
         8.7.2         PERSONNEL-UPDATE Sample Run---Listing After Promotion
Appendix A
Appendix A COBOL Database Programming Reserved Words
Glossary
Glossary Glossary
Index
Index
Examples
4-1 A Single USE Statement
4-2 Multiple USE Statements
5-1 Printing a Listing of a Simple Set
5-2 Using Forked Sets
5-3 Currency Indicators
5-4 Using the RETAINING Clause
6-1 ROLLBACK Statement
6-2 Owner and Member Test Condition
6-3 RECONNECT Statement
6-4 FREE CURRENT Statement
6-5 FETCH NEXT Loop
6-6 Using a FETCH NEXT Loop to Walk Through a Set Type
7-1 Sample HP COBOL DML Program Statements
7-2 Sample DML Program Statements
7-3 PARTSS1-PROGRAM Compiler Listing (Alpha, I64)
7-4 PARTSS3-PROGRAM Compiler Listing (Alpha, I64)
7-5 PARTSS1-PROGRAM Compiler Listing (VAX)
7-6 PARTSS3-PROGRAM Compiler Listing (VAX)
8-1 Populating a Database
8-2 Backing Up a Database
8-3 Accessing and Displaying Database Information
8-4 Sample Run of the PARTBOM Program
8-5 Creating Relationships Between Records of the Same Type
8-6 Creating New Record Relationships
8-7 Sample Run of PERSONNEL-UPDATE Before Promotion
8-8 Sample Run of PERSONNEL-UPDATE After Promotion


Previous Next Contents Index