DB2 Server for VSE & VM: Application Programming


Appendix D. Using SQL in FORTRAN

Partial Table-of-Contents

  • A FORTRAN Sample Program
  • Rules for Using SQL in FORTRAN
  • Placing and Continuing SQL Statements
  • Placing Data Statements
  • Using FORTRAN Common Areas (DB2 Server for VSE)
  • Identifying Rules for Case
  • Declaring Host Variables
  • Embedding SQL Statements
  • Using Host Variables in SQL Statements
  • Using Variable Length Character Strings
  • Using DBCS Characters in FORTRAN
  • Using the INCLUDE Statement
  • Using FORTRAN Variables in SQL: Data Conversion Considerations
  • Handling SQL Errors
  • Handling Program Interrupts
  • Using Dynamic SQL Statements in FORTRAN
  • Restrictions When Using the FORTRAN Preprocessor
  • Defining DB2 Server for VSE & VM Data Types for FORTRAN
  • Contents


    [ Top of Page | Previous Page | Next Page | Table of Contents | Index ]